CapacityReservationProperties Class

Properties of the Capacity reservation.

Constructor

CapacityReservationProperties()

Variables

Name Description
reservationId
str

A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource.

platformFaultDomainCount
int

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.

virtualMachinesAssociated
list[<xref:"SubResourceReadOnly">]

A list of all virtual machine resource ids that are associated with the capacity reservation.

provisioningTime
str

The date time when the capacity reservation was last updated.

provisioningState
str

The provisioning state, which only appears in the response.

instanceView
<xref:<xref:"CapacityReservationInstanceView">>

The Capacity reservation instance view.

timeCreated
str

Specifies the time at which the Capacity Reservation resource was created. Minimum api-version: 2021-11-01.

scheduleProfile
<xref:<xref:"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.

Attributes

instanceView

The Capacity reservation instance view.

instanceView: CapacityReservationInstanceView

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.

platformFaultDomainCount: int

provisioningState

The provisioning state, which only appears in the response.

provisioningState: str

provisioningTime

The date time when the capacity reservation was last updated.

provisioningTime: str

reservationId

A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource.

reservationId: str

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.

scheduleProfile: ScheduleProfile

timeCreated

Specifies the time at which the Capacity Reservation resource was created. Minimum api-version: 2021-11-01.

timeCreated: str

virtualMachinesAssociated

A list of all virtual machine resource ids that are associated with the capacity reservation.

virtualMachinesAssociated: list[azure.mgmt.compute.types.SubResourceReadOnly]