Share via


CapacityReservationOutput 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

id

Resource Id

location

Resource location

name

Resource name

tags

Resource tags

type

Resource type

Property Details

properties

Properties of the Capacity reservation.

properties?: CapacityReservationPropertiesOutput

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: SkuOutput

Property Value

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

id

Resource Id

id?: string

Property Value

string

Inherited From ResourceOutput.id

location

Resource location

location: string

Property Value

string

Inherited From ResourceOutput.location

name

Resource name

name?: string

Property Value

string

Inherited From ResourceOutput.name

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From ResourceOutput.tags

type

Resource type

type?: string

Property Value

string

Inherited From ResourceOutput.type