CapacityReservationUtilization Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CapacityReservationUtilization
- com.
Implements
public final class CapacityReservationUtilization
implements JsonSerializable<CapacityReservationUtilization>
Represents the capacity reservation utilization in terms of resources allocated.
Constructor Summary
Constructor | Description |
---|---|
CapacityReservationUtilization() |
Creates an instance of Capacity |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
currentCapacity()
Get the current |
static
Capacity |
fromJson(JsonReader jsonReader)
Reads an instance of Capacity |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Sub |
virtualMachinesAllocated()
Get the virtual |
Methods inherited from java.lang.Object
Constructor Details
CapacityReservationUtilization
public CapacityReservationUtilization()
Creates an instance of CapacityReservationUtilization class.
Method Details
currentCapacity
public Integer currentCapacity()
Get the currentCapacity property: 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.
Returns:
fromJson
public static CapacityReservationUtilization fromJson(JsonReader jsonReader)
Reads an instance of CapacityReservationUtilization from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
virtualMachinesAllocated
public List
Get the virtualMachinesAllocated property: A list of all virtual machines resource ids allocated against the capacity reservation.
Returns:
Applies to
Azure SDK for Java