public final class DedicatedHostAllocatableVM extends Object
Constructor and Description |
---|
DedicatedHostAllocatableVM() |
Modifier and Type | Method and Description |
---|---|
Double |
count()
Get the count property: Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining
capacity.
|
void |
validate()
Validates the instance.
|
String |
vmSize()
Get the vmSize property: VM size in terms of which the unutilized capacity is represented.
|
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.
|
DedicatedHostAllocatableVM |
withVmSize(String vmSize)
Set the vmSize property: VM size in terms of which the unutilized capacity is represented.
|
public String vmSize()
public DedicatedHostAllocatableVM withVmSize(String vmSize)
vmSize
- the vmSize value to set.public Double count()
public DedicatedHostAllocatableVM withCount(Double count)
count
- the count value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.