DedicatedHostAllocatableVM Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DedicatedHostAllocatableVM
- com.
Implements
public final class DedicatedHostAllocatableVM
implements JsonSerializable<DedicatedHostAllocatableVM>
Represents the dedicated host unutilized capacity in terms of a specific VM size.
Constructor Summary
Constructor | Description |
---|---|
DedicatedHostAllocatableVM() |
Creates an instance of Dedicated |
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
count()
Get the count property: Maximum number of VMs of size vm |
static
Dedicated |
fromJson(JsonReader jsonReader)
Reads an instance of Dedicated |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
vmSize()
Get the vm |
Dedicated |
withCount(Double count)
Set the count property: Maximum number of VMs of size vm |
Dedicated |
withVmSize(String vmSize)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
DedicatedHostAllocatableVM
public DedicatedHostAllocatableVM()
Creates an instance of DedicatedHostAllocatableVM class.
Method Details
count
public Double count()
Get the count property: Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
Returns:
fromJson
public static DedicatedHostAllocatableVM fromJson(JsonReader jsonReader)
Reads an instance of DedicatedHostAllocatableVM from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
vmSize
public String vmSize()
Get the vmSize property: VM size in terms of which the unutilized capacity is represented.
Returns:
withCount
public DedicatedHostAllocatableVM withCount(Double count)
Set the count property: Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
Parameters:
Returns:
withVmSize
public DedicatedHostAllocatableVM withVmSize(String vmSize)
Set the vmSize property: VM size in terms of which the unutilized capacity is represented.
Parameters:
Returns:
Applies to
Azure SDK for Java