public final class ComputeVmProperties extends Object
Constructor and Description |
---|
ComputeVmProperties() |
Modifier and Type | Method and Description |
---|---|
List<String> |
dataDiskIds()
Get the dataDiskIds property: Gets data disks blob uri for the virtual machine.
|
List<ComputeDataDisk> |
dataDisks()
Get the dataDisks property: Gets all data disks attached to the virtual machine.
|
String |
networkInterfaceId()
Get the networkInterfaceId property: Gets the network interface ID of the virtual machine.
|
String |
osDiskId()
Get the osDiskId property: Gets OS disk blob uri for the virtual machine.
|
String |
osType()
Get the osType property: Gets the OS type of the virtual machine.
|
List<ComputeVmInstanceViewStatus> |
statuses()
Get the statuses property: Gets the statuses of the virtual machine.
|
void |
validate()
Validates the instance.
|
String |
vmSize()
Get the vmSize property: Gets the size of the virtual machine.
|
ComputeVmProperties |
withDataDiskIds(List<String> dataDiskIds)
Set the dataDiskIds property: Gets data disks blob uri for the virtual machine.
|
ComputeVmProperties |
withDataDisks(List<ComputeDataDisk> dataDisks)
Set the dataDisks property: Gets all data disks attached to the virtual machine.
|
ComputeVmProperties |
withNetworkInterfaceId(String networkInterfaceId)
Set the networkInterfaceId property: Gets the network interface ID of the virtual machine.
|
ComputeVmProperties |
withOsDiskId(String osDiskId)
Set the osDiskId property: Gets OS disk blob uri for the virtual machine.
|
ComputeVmProperties |
withOsType(String osType)
Set the osType property: Gets the OS type of the virtual machine.
|
ComputeVmProperties |
withStatuses(List<ComputeVmInstanceViewStatus> statuses)
Set the statuses property: Gets the statuses of the virtual machine.
|
ComputeVmProperties |
withVmSize(String vmSize)
Set the vmSize property: Gets the size of the virtual machine.
|
public List<ComputeVmInstanceViewStatus> statuses()
public ComputeVmProperties withStatuses(List<ComputeVmInstanceViewStatus> statuses)
statuses
- the statuses value to set.public String osType()
public ComputeVmProperties withOsType(String osType)
osType
- the osType value to set.public String vmSize()
public ComputeVmProperties withVmSize(String vmSize)
vmSize
- the vmSize value to set.public String networkInterfaceId()
public ComputeVmProperties withNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- the networkInterfaceId value to set.public String osDiskId()
public ComputeVmProperties withOsDiskId(String osDiskId)
osDiskId
- the osDiskId value to set.public List<String> dataDiskIds()
public ComputeVmProperties withDataDiskIds(List<String> dataDiskIds)
dataDiskIds
- the dataDiskIds value to set.public List<ComputeDataDisk> dataDisks()
public ComputeVmProperties withDataDisks(List<ComputeDataDisk> dataDisks)
dataDisks
- the dataDisks value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.