VirtualMachineSize interface

Describes the properties of a VM size.

Properties

maxDataDiskCount

The maximum number of data disks that can be attached to the virtual machine size.

memoryInMB

The amount of memory, in MB, supported by the virtual machine size.

name

The name of the virtual machine size.

numberOfCores

The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list

osDiskSizeInMB

The OS disk size, in MB, allowed by the virtual machine size.

resourceDiskSizeInMB

The resource disk size, in MB, allowed by the virtual machine size.

Property Details

maxDataDiskCount

The maximum number of data disks that can be attached to the virtual machine size.

maxDataDiskCount?: number

Property Value

number

memoryInMB

The amount of memory, in MB, supported by the virtual machine size.

memoryInMB?: number

Property Value

number

name

The name of the virtual machine size.

name?: string

Property Value

string

numberOfCores

The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list

numberOfCores?: number

Property Value

number

osDiskSizeInMB

The OS disk size, in MB, allowed by the virtual machine size.

osDiskSizeInMB?: number

Property Value

number

resourceDiskSizeInMB

The resource disk size, in MB, allowed by the virtual machine size.

resourceDiskSizeInMB?: number

Property Value

number