Share via


CapacityReservation interface

Specifies information about the capacity reservation.

Extends

Properties

properties

Properties of the Capacity reservation.

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. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.

zones

Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.

Inherited Properties

location

Resource location

tags

Resource tags

Property Details

properties

Properties of the Capacity reservation.

properties?: CapacityReservationProperties

Property Value

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. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.

sku: Sku

Property Value

Sku

zones

Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.

zones?: string[]

Property Value

string[]

Inherited Property Details

location

Resource location

location: string

Property Value

string

Inherited From Resource.location

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From Resource.tags