CapacityReservationPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies information about the capacity reservation. sku.capacity cannot be updated for Block Capacity Reservation. Tags can be update for all Capacity Reservation Types.
public class CapacityReservationPatch : Azure.ResourceManager.Compute.Models.ComputeResourcePatch, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.CapacityReservationPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.CapacityReservationPatch>
type CapacityReservationPatch = class
inherit ComputeResourcePatch
interface IJsonModel<CapacityReservationPatch>
interface IPersistableModel<CapacityReservationPatch>
Public Class CapacityReservationPatch
Inherits ComputeResourcePatch
Implements IJsonModel(Of CapacityReservationPatch), IPersistableModel(Of CapacityReservationPatch)
- Inheritance
- Implements
Constructors
| CapacityReservationPatch() |
Initializes a new instance of CapacityReservationPatch. |
Properties
| InstanceView |
The Capacity reservation instance view. |
| PlatformFaultDomainCount |
Specifies the value of fault ___domain count that Capacity Reservation supports for requested VM size. Note: The fault ___domain count specified for a resource (like virtual machines scale set) must be less than or equal to this value if it deploys using capacity reservation. Minimum api-version: 2022-08-01. |
| ProvisioningOn |
The date time when the capacity reservation was last updated. |
| ProvisioningState |
The provisioning state, which only appears in the response. |
| ReservationId |
A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. |
| ScheduleProfile |
Defines the schedule for Block-type capacity reservations. Specifies the schedule during which capacity reservation is active and VM or VMSS resource can be allocated using reservation. This property is required and only supported when the capacity reservation group type is 'Block'. The scheduleProfile, start, and end fields are immutable after creation. Minimum API version: 2025-04-01. Please refer to https://aka.ms/blockcapacityreservation for more details. |
| Sku |
SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. When 'CapacityReservationSupported' is true, the SKU capability also specifies the 'SupportedCapacityReservationTypes', which lists the types of capacity reservations (such as Targeted or Block) that the SKU supports. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values. Note: The SKU name and capacity cannot be updated for Block capacity reservations. |
| Tags |
Resource tags. (Inherited from ComputeResourcePatch) |
| TimeCreated |
Specifies the time at which the Capacity Reservation resource was created. Minimum api-version: 2021-11-01. |
| VirtualMachinesAssociated |
A list of all virtual machine resource ids that are associated with the capacity reservation. |
Methods
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |