VirtualMachineSize Class
Describes the properties of a VM size.
- Inheritance
-
VirtualMachineSize
Constructor
VirtualMachineSize(*, name: Optional[str] = None, number_of_cores: Optional[int] = None, os_disk_size_in_mb: Optional[int] = None, resource_disk_size_in_mb: Optional[int] = None, memory_in_mb: Optional[int] = None, max_data_disk_count: Optional[int] = None, **kwargs)
Parameters
- number_of_cores
- int
Required
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.
- resource_disk_size_in_mb
- int
Required
The resource disk size, in MB, allowed by the virtual machine size.
- max_data_disk_count
- int
Required
The maximum number of data disks that can be attached to the virtual machine size.
Feedback
Submit and view feedback for