public final class VirtualMachineSizeInner extends Object
Constructor and Description |
---|
VirtualMachineSizeInner() |
Modifier and Type | Method and Description |
---|---|
Integer |
maxDataDiskCount()
Get the maxDataDiskCount property: The maximum number of data disks that can be attached to the virtual machine
size.
|
Integer |
memoryInMB()
Get the memoryInMB property: The amount of memory, in MB, supported by the virtual machine size.
|
String |
name()
Get the name property: The name of the virtual machine size.
|
Integer |
numberOfCores()
Get the numberOfCores property: The number of cores supported by the virtual machine size.
|
Integer |
osDiskSizeInMB()
Get the osDiskSizeInMB property: The OS disk size, in MB, allowed by the virtual machine size.
|
Integer |
resourceDiskSizeInMB()
Get the resourceDiskSizeInMB property: The resource disk size, in MB, allowed by the virtual machine size.
|
void |
validate()
Validates the instance.
|
VirtualMachineSizeInner |
withMaxDataDiskCount(Integer maxDataDiskCount)
Set the maxDataDiskCount property: The maximum number of data disks that can be attached to the virtual machine
size.
|
VirtualMachineSizeInner |
withMemoryInMB(Integer memoryInMB)
Set the memoryInMB property: The amount of memory, in MB, supported by the virtual machine size.
|
VirtualMachineSizeInner |
withName(String name)
Set the name property: The name of the virtual machine size.
|
VirtualMachineSizeInner |
withNumberOfCores(Integer numberOfCores)
Set the numberOfCores property: The number of cores supported by the virtual machine size.
|
VirtualMachineSizeInner |
withOsDiskSizeInMB(Integer osDiskSizeInMB)
Set the osDiskSizeInMB property: The OS disk size, in MB, allowed by the virtual machine size.
|
VirtualMachineSizeInner |
withResourceDiskSizeInMB(Integer resourceDiskSizeInMB)
Set the resourceDiskSizeInMB property: The resource disk size, in MB, allowed by the virtual machine size.
|
public String name()
public VirtualMachineSizeInner withName(String name)
name
- the name value to set.public Integer numberOfCores()
public VirtualMachineSizeInner withNumberOfCores(Integer numberOfCores)
numberOfCores
- the numberOfCores value to set.public Integer osDiskSizeInMB()
public VirtualMachineSizeInner withOsDiskSizeInMB(Integer osDiskSizeInMB)
osDiskSizeInMB
- the osDiskSizeInMB value to set.public Integer resourceDiskSizeInMB()
public VirtualMachineSizeInner withResourceDiskSizeInMB(Integer resourceDiskSizeInMB)
resourceDiskSizeInMB
- the resourceDiskSizeInMB value to set.public Integer memoryInMB()
public VirtualMachineSizeInner withMemoryInMB(Integer memoryInMB)
memoryInMB
- the memoryInMB value to set.public Integer maxDataDiskCount()
public VirtualMachineSizeInner withMaxDataDiskCount(Integer maxDataDiskCount)
maxDataDiskCount
- the maxDataDiskCount value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.