다음을 통해 공유


CapacityReservationGroupUpdate Constructors

Definition

Overloads

CapacityReservationGroupUpdate()

Initializes a new instance of the CapacityReservationGroupUpdate class.

CapacityReservationGroupUpdate(IDictionary<String,String>, IList<SubResourceReadOnly>, IList<SubResourceReadOnly>, CapacityReservationGroupInstanceView)

Initializes a new instance of the CapacityReservationGroupUpdate class.

CapacityReservationGroupUpdate()

Initializes a new instance of the CapacityReservationGroupUpdate class.

public CapacityReservationGroupUpdate ();
Public Sub New ()

Applies to

CapacityReservationGroupUpdate(IDictionary<String,String>, IList<SubResourceReadOnly>, IList<SubResourceReadOnly>, CapacityReservationGroupInstanceView)

Initializes a new instance of the CapacityReservationGroupUpdate class.

public CapacityReservationGroupUpdate (System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> capacityReservations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> virtualMachinesAssociated = default, Microsoft.Azure.Management.Compute.Models.CapacityReservationGroupInstanceView instanceView = default);
new Microsoft.Azure.Management.Compute.Models.CapacityReservationGroupUpdate : System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> * Microsoft.Azure.Management.Compute.Models.CapacityReservationGroupInstanceView -> Microsoft.Azure.Management.Compute.Models.CapacityReservationGroupUpdate
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional capacityReservations As IList(Of SubResourceReadOnly) = Nothing, Optional virtualMachinesAssociated As IList(Of SubResourceReadOnly) = Nothing, Optional instanceView As CapacityReservationGroupInstanceView = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags

capacityReservations
IList<SubResourceReadOnly>

A list of all capacity reservation resource ids that belong to capacity reservation group.

virtualMachinesAssociated
IList<SubResourceReadOnly>

A list of references to all virtual machines associated to the capacity reservation group.

instanceView
CapacityReservationGroupInstanceView

The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.

Applies to