CapacityReservationUtilization Constructors

Definition

Overloads

CapacityReservationUtilization()

Initializes a new instance of the CapacityReservationUtilization class.

CapacityReservationUtilization(IList<SubResourceReadOnly>)

Initializes a new instance of the CapacityReservationUtilization class.

CapacityReservationUtilization(Nullable<Int32>, IList<SubResourceReadOnly>)

Initializes a new instance of the CapacityReservationUtilization class.

CapacityReservationUtilization()

Initializes a new instance of the CapacityReservationUtilization class.

public CapacityReservationUtilization ();
Public Sub New ()

Applies to

CapacityReservationUtilization(IList<SubResourceReadOnly>)

Initializes a new instance of the CapacityReservationUtilization class.

public CapacityReservationUtilization (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> virtualMachinesAllocated);
new Microsoft.Azure.Management.Compute.Models.CapacityReservationUtilization : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> -> Microsoft.Azure.Management.Compute.Models.CapacityReservationUtilization
Public Sub New (virtualMachinesAllocated As IList(Of SubResourceReadOnly))

Parameters

virtualMachinesAllocated
IList<SubResourceReadOnly>

A list of all virtual machines resource ids allocated against the capacity reservation.

Applies to

CapacityReservationUtilization(Nullable<Int32>, IList<SubResourceReadOnly>)

Initializes a new instance of the CapacityReservationUtilization class.

public CapacityReservationUtilization (int? currentCapacity = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> virtualMachinesAllocated = default);
new Microsoft.Azure.Management.Compute.Models.CapacityReservationUtilization : Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> -> Microsoft.Azure.Management.Compute.Models.CapacityReservationUtilization
Public Sub New (Optional currentCapacity As Nullable(Of Integer) = Nothing, Optional virtualMachinesAllocated As IList(Of SubResourceReadOnly) = Nothing)

Parameters

currentCapacity
Nullable<Int32>

The value provides the current capacity of the VM size which was reserved successfully and for which the customer is getting billed. Minimum api-version: 2022-08-01.

virtualMachinesAllocated
IList<SubResourceReadOnly>

A list of all virtual machines resource ids allocated against the capacity reservation.

Applies to