你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineSize Interface
public interface VirtualMachineSize extends HasName
A type representing virtual machine size available for a subscription in a region.
Method Summary
Modifier and Type | Method and Description |
---|---|
int | maxDataDiskCount() |
int | memoryInMB() |
int | numberOfCores() |
int | osDiskSizeInMB() |
int | resourceDiskSizeInMB() |
Inherited Members
Method Details
maxDataDiskCount
public int maxDataDiskCount()
Returns:
the maximum number of data disks allowed by a VM size
memoryInMB
public int memoryInMB()
Returns:
the memory size supported by the VM size
numberOfCores
public int numberOfCores()
Returns:
the number of cores supported by the VM size
osDiskSizeInMB
public int osDiskSizeInMB()
Returns:
the OS disk size allowed by the VM size
resourceDiskSizeInMB
public int resourceDiskSizeInMB()
Returns:
the resource disk size allowed by the VM size