public class DedicatedHostAllocatableVM extends Object
| Constructor and Description |
|---|
DedicatedHostAllocatableVM() |
| Modifier and Type | Method and Description |
|---|---|
Double |
count()
Get maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
|
String |
vmSize()
Get vM size in terms of which the unutilized capacity is represented.
|
DedicatedHostAllocatableVM |
withCount(Double count)
Set maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
|
DedicatedHostAllocatableVM |
withVmSize(String vmSize)
Set vM size in terms of which the unutilized capacity is represented.
|
public String vmSize()
public DedicatedHostAllocatableVM withVmSize(String vmSize)
vmSize - the vmSize value to setpublic Double count()
public DedicatedHostAllocatableVM withCount(Double count)
count - the count value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/