CapacityReservationUtilization Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Azure SDK for .NET