public final class HardwareProfile extends Object
Constructor and Description |
---|
HardwareProfile() |
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the instance.
|
VirtualMachineSizeTypes |
vmSize()
Get the vmSize property: Specifies the size of the virtual machine.
|
HardwareProfile |
withVmSize(VirtualMachineSizeTypes vmSize)
Set the vmSize property: Specifies the size of the virtual machine.
|
public VirtualMachineSizeTypes vmSize()
public HardwareProfile withVmSize(VirtualMachineSizeTypes vmSize)
vmSize
- the vmSize value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.