VirtualMachineSize Class

Describes the properties of a VM size.

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachineSize

Constructor

VirtualMachineSize(*, name: str | None = None, number_of_cores: int | None = None, os_disk_size_in_mb: int | None = None, resource_disk_size_in_mb: int | None = None, memory_in_mb: int | None = None, max_data_disk_count: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the virtual machine size.

number_of_cores
int

The number of cores supported by the virtual machine size.

os_disk_size_in_mb
int

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

resource_disk_size_in_mb
int

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

memory_in_mb
int

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

max_data_disk_count
int

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

Variables

Name Description
name
str

The name of the virtual machine size.

number_of_cores
int

The number of cores supported by the virtual machine size.

os_disk_size_in_mb
int

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

resource_disk_size_in_mb
int

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

memory_in_mb
int

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

max_data_disk_count
int

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