CapacityReservationUpdate Constructors

Definition

Overloads

CapacityReservationUpdate()

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, IList<SubResourceReadOnly>, Nullable<DateTime>, String, CapacityReservationInstanceView, Nullable<DateTime>, 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.

CapacityReservationUpdate()

Initializes a new instance of the CapacityReservationUpdate class.

public CapacityReservationUpdate ();
Public Sub New ()

Applies to

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

Initializes a new instance of the CapacityReservationUpdate class.

public CapacityReservationUpdate (System.Collections.Generic.IDictionary<string,string> tags, string reservationId, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> virtualMachinesAssociated, DateTime? provisioningTime, string provisioningState, Microsoft.Azure.Management.Compute.Models.CapacityReservationInstanceView instanceView, Microsoft.Azure.Management.Compute.Models.Sku sku);
new Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate : System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> * Nullable<DateTime> * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationInstanceView * Microsoft.Azure.Management.Compute.Models.Sku -> Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate
Public Sub New (tags As IDictionary(Of String, String), reservationId As String, virtualMachinesAssociated As IList(Of SubResourceReadOnly), provisioningTime As Nullable(Of DateTime), provisioningState As String, instanceView As CapacityReservationInstanceView, sku As Sku)

Parameters

tags
IDictionary<String,String>

Resource tags

reservationId
String

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

virtualMachinesAssociated
IList<SubResourceReadOnly>

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

provisioningTime
Nullable<DateTime>

The date time when the capacity reservation was last updated.

provisioningState
String

The provisioning state, which only appears in the response.

instanceView
CapacityReservationInstanceView

The Capacity reservation instance view.

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.

Applies to

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

Initializes a new instance of the CapacityReservationUpdate class.

public CapacityReservationUpdate (System.Collections.Generic.IDictionary<string,string> tags, string reservationId, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> virtualMachinesAssociated = default, DateTime? provisioningTime = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.CapacityReservationInstanceView instanceView = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.Sku sku = default);
new Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate : System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> * Nullable<DateTime> * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationInstanceView * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.Sku -> Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate
Public Sub New (tags As IDictionary(Of String, String), reservationId As String, Optional virtualMachinesAssociated As IList(Of SubResourceReadOnly) = Nothing, Optional provisioningTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As CapacityReservationInstanceView = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional sku As Sku = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags

reservationId
String

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

virtualMachinesAssociated
IList<SubResourceReadOnly>

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

provisioningTime
Nullable<DateTime>

The date time when the capacity reservation was last updated.

provisioningState
String

The provisioning state, which only appears in the response.

instanceView
CapacityReservationInstanceView

The Capacity reservation instance view.

timeCreated
Nullable<DateTime>

Specifies the time at which the Capacity Reservation resource was created.<br><br>Minimum api-version: 2022-03-01.

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.

Applies to

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

Initializes a new instance of the CapacityReservationUpdate class.

public CapacityReservationUpdate (System.Collections.Generic.IDictionary<string,string> tags = default, string reservationId = default, int? platformFaultDomainCount = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> virtualMachinesAssociated = default, DateTime? provisioningTime = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.CapacityReservationInstanceView instanceView = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.Sku sku = default);
new Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate : System.Collections.Generic.IDictionary<string, string> * string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> * Nullable<DateTime> * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationInstanceView * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.Sku -> Microsoft.Azure.Management.Compute.Models.CapacityReservationUpdate
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional reservationId As String = Nothing, Optional platformFaultDomainCount As Nullable(Of Integer) = Nothing, Optional virtualMachinesAssociated As IList(Of SubResourceReadOnly) = Nothing, Optional provisioningTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As CapacityReservationInstanceView = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional sku As Sku = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags

reservationId
String

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

platformFaultDomainCount
Nullable<Int32>

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
IList<SubResourceReadOnly>

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

provisioningTime
Nullable<DateTime>

The date time when the capacity reservation was last updated.

provisioningState
String

The provisioning state, which only appears in the response.

instanceView
CapacityReservationInstanceView

The Capacity reservation instance view.

timeCreated
Nullable<DateTime>

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

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.

Applies to