Udostępnij za pośrednictwem


CapacityReservationUpdate Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class CapacityReservationUpdate : Microsoft.Azure.Management.Compute.Models.UpdateResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type CapacityReservationUpdate = class
    inherit UpdateResource
Public Class CapacityReservationUpdate
Inherits UpdateResource
Inheritance
CapacityReservationUpdate
Attributes

Constructors

CapacityReservationUpdate()

Initializes a new instance of the CapacityReservationUpdate class.

CapacityReservationUpdate(IDictionary<String,String>, String, IList<SubResourceReadOnly>, Nullable<DateTime>, String, CapacityReservationInstanceView, Nullable<DateTime>, Sku)

Initializes a new instance of the CapacityReservationUpdate class.

CapacityReservationUpdate(IDictionary<String,String>, String, IList<SubResourceReadOnly>, Nullable<DateTime>, String, CapacityReservationInstanceView, Sku)

Initializes a new instance of the CapacityReservationUpdate class.

CapacityReservationUpdate(IDictionary<String,String>, String, Nullable<Int32>, IList<SubResourceReadOnly>, Nullable<DateTime>, String, CapacityReservationInstanceView, Nullable<DateTime>, Sku)

Initializes a new instance of the CapacityReservationUpdate class.

Properties

InstanceView

Gets the Capacity reservation instance view.

PlatformFaultDomainCount

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

ProvisioningState

Gets the provisioning state, which only appears in the response.

ProvisioningTime

Gets the date time when the capacity reservation was last updated.

ReservationId

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

Sku

Gets or sets 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.

Tags

Gets or sets resource tags

(Inherited from UpdateResource)
TimeCreated

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

VirtualMachinesAssociated

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

Applies to