VirtualMachineSize Interface
Implements
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 |
---|---|
abstract int |
maxDataDiskCount()
Gets the maximum number of data disks allowed by a VM size. |
abstract int |
memoryInMB()
Gets the memory size supported by the VM size. |
abstract int |
numberOfCores()
Gets the number of cores supported by the VM size. |
abstract int |
osDiskSizeInMB()
Gets the OS disk size allowed by the VM size. |
abstract int |
resourceDiskSizeInMB()
Gets the resource disk size allowed by the VM size. |
abstract
Virtual |
virtualMachineSizeType()
The virtual machine size type if the sku describes sku for virtual machine resource type. |
Method Details
maxDataDiskCount
public abstract int maxDataDiskCount()
Gets the maximum number of data disks allowed by a VM size.
Returns:
memoryInMB
public abstract int memoryInMB()
Gets the memory size supported by the VM size.
Returns:
numberOfCores
public abstract int numberOfCores()
Gets the number of cores supported by the VM size.
Returns:
osDiskSizeInMB
public abstract int osDiskSizeInMB()
Gets the OS disk size allowed by the VM size.
Returns:
resourceDiskSizeInMB
public abstract int resourceDiskSizeInMB()
Gets the resource disk size allowed by the VM size.
Returns:
virtualMachineSizeType
public abstract VirtualMachineSizeTypes virtualMachineSizeType()
The virtual machine size type if the sku describes sku for virtual machine resource type.
The size can be used for withSize(VirtualMachineSizeTypes size) and withSize(VirtualMachineSizeTypes size).
Returns:
Applies to
Azure SDK for Java