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
| Name | Description |
|---|---|
| CapacityReservationPatch() |
Initializes a new instance of CapacityReservationPatch. |
Properties
| Name | Description |
|---|---|
| AssociatedVirtualMachineResources |
A list of all virtual machine resource ids that are associated with the capacity reservation. |
| 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 and Future capacity reservations. Specifies the schedule during which capacity reservation is active and VM or VMSS resource can be allocated using reservation. For Block capacity reservations, the scheduleProfile, start, and end fields are immutable after creation. Please refer to https://aka.ms/blockcapacityreservation for more details. Minimum API version for Block capacity reservations: 2025-04-01. Future capacity reservations must use this property with only a start time, which can be changed until the ‘modifiableUntil’ time. Please refer to https://aka.ms/futurecapacityreservation for more details. Minimum API version for Future capacity reservations: 2026-04-01. |
| 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. |