DedicatedHostAvailableCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DedicatedHostAvailableCapacity
- com.
Implements
public final class DedicatedHostAvailableCapacity
implements JsonSerializable<DedicatedHostAvailableCapacity>
Dedicated host unutilized capacity.
Constructor Summary
Constructor | Description |
---|---|
DedicatedHostAvailableCapacity() |
Creates an instance of Dedicated |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Dedicated |
allocatableVMs()
Get the allocatable |
static
Dedicated |
fromJson(JsonReader jsonReader)
Reads an instance of Dedicated |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Dedicated |
withAllocatableVMs(List<DedicatedHostAllocatableVM> allocatableVMs)
Set the allocatable |
Methods inherited from java.lang.Object
Constructor Details
DedicatedHostAvailableCapacity
public DedicatedHostAvailableCapacity()
Creates an instance of DedicatedHostAvailableCapacity class.
Method Details
allocatableVMs
public List
Get the allocatableVMs property: The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
Returns:
fromJson
public static DedicatedHostAvailableCapacity fromJson(JsonReader jsonReader)
Reads an instance of DedicatedHostAvailableCapacity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAllocatableVMs
public DedicatedHostAvailableCapacity withAllocatableVMs(List
Set the allocatableVMs property: The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
Parameters:
Returns:
Applies to
Azure SDK for Java