VirtualMachineSize Class
Describes the properties of a VM size.
- Inheritance
-
azure.mgmt.compute._serialization.ModelVirtualMachineSize
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
|
The name of the virtual machine size. |
number_of_cores
|
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. |
os_disk_size_in_mb
|
The OS disk size, in MB, allowed by the virtual machine size. |
resource_disk_size_in_mb
|
The resource disk size, in MB, allowed by the virtual machine size. |
memory_in_mb
|
The amount of memory, in MB, supported by the virtual machine size. |
max_data_disk_count
|
The maximum number of data disks that can be attached to the virtual machine size. |
Variables
Name | Description |
---|---|
name
|
The name of the virtual machine size. |
number_of_cores
|
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. |
os_disk_size_in_mb
|
The OS disk size, in MB, allowed by the virtual machine size. |
resource_disk_size_in_mb
|
The resource disk size, in MB, allowed by the virtual machine size. |
memory_in_mb
|
The amount of memory, in MB, supported by the virtual machine size. |
max_data_disk_count
|
The maximum number of data disks that can be attached to the virtual machine size. |
Azure SDK for Python