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()
abstract int memoryInMB()
abstract int numberOfCores()
abstract int osDiskSizeInMB()
abstract int resourceDiskSizeInMB()
abstract VirtualMachineSizeTypes virtualMachineSizeType()

The virtual machine size type if the sku describes sku for virtual machine resource type.

Method Details

maxDataDiskCount

public abstract int maxDataDiskCount()

Returns:

the maximum number of data disks allowed by a VM size

memoryInMB

public abstract int memoryInMB()

Returns:

the memory size supported by the VM size

numberOfCores

public abstract int numberOfCores()

Returns:

the number of cores supported by the VM size

osDiskSizeInMB

public abstract int osDiskSizeInMB()

Returns:

the OS disk size allowed by the VM size

resourceDiskSizeInMB

public abstract int resourceDiskSizeInMB()

Returns:

the resource disk size allowed by the VM size

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:

the virtual machine size type

Applies to