你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CapacityReservationUpdate Class

Specifies information about the capacity reservation. Only tags and sku.capacity can be updated.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute.v2024_07_01.models._models_py3.UpdateResource
CapacityReservationUpdate

Constructor

CapacityReservationUpdate(*, tags: Dict[str, str] | None = None, sku: _models.Sku | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

sku
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.

Variables

Name Description
tags

Resource tags.

sku
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.

reservation_id
str

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

platform_fault_domain_count
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.

virtual_machines_associated

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

provisioning_time

The date time when the capacity reservation was last updated.

provisioning_state
str

The provisioning state, which only appears in the response.

instance_view

The Capacity reservation instance view.

time_created

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