Package version:

Interface VirtualMachineSize

Describes the properties of a VM size.

interface VirtualMachineSize {
    maxDataDiskCount?: number;
    memoryInMB?: number;
    name?: string;
    numberOfCores?: number;
    osDiskSizeInMB?: number;
    resourceDiskSizeInMB?: number;
}

Properties

maxDataDiskCount?: number

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

memoryInMB?: number

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

name?: string

The name of the virtual machine size.

numberOfCores?: number

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?: number

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

resourceDiskSizeInMB?: number

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