VirtualMachineSize Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the properties of a VM size.
public class VirtualMachineSize
type VirtualMachineSize = class
Public Class VirtualMachineSize
- Inheritance
-
VirtualMachineSize
Constructors
VirtualMachineSize() |
Initializes a new instance of the VirtualMachineSize class. |
VirtualMachineSize(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>) |
Initializes a new instance of the VirtualMachineSize class. |
Properties
MaxDataDiskCount |
Gets or sets the maximum number of data disks that can be attached to the virtual machine size. |
MemoryInMB |
Gets or sets the amount of memory, in MB, supported by the virtual machine size. |
Name |
Gets or sets the name of the virtual machine size. |
NumberOfCores |
Gets or sets 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 |
Gets or sets the OS disk size, in MB, allowed by the virtual machine size. |
ResourceDiskSizeInMB |
Gets or sets the resource disk size, in MB, allowed by the virtual machine size. |
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk