Class DedicatedHostAllocatableVM
java.lang.Object
com.azure.resourcemanager.compute.models.DedicatedHostAllocatableVM
Represents the dedicated host unutilized capacity in terms of a specific VM size.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncount()Get the count property: Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.voidvalidate()Validates the instance.vmSize()Get the vmSize property: VM size in terms of which the unutilized capacity is represented.Set the count property: Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.withVmSize(String vmSize) Set the vmSize property: VM size in terms of which the unutilized capacity is represented.
-
Constructor Details
-
DedicatedHostAllocatableVM
public DedicatedHostAllocatableVM()
-
-
Method Details
-
vmSize
Get the vmSize property: VM size in terms of which the unutilized capacity is represented.- Returns:
- the vmSize value.
-
withVmSize
Set the vmSize property: VM size in terms of which the unutilized capacity is represented.- Parameters:
vmSize- the vmSize value to set.- Returns:
- the DedicatedHostAllocatableVM object itself.
-
count
Get the count property: Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.- Returns:
- the count value.
-
withCount
Set the count property: Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.- Parameters:
count- the count value to set.- Returns:
- the DedicatedHostAllocatableVM object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-