VirtualMachineSize Constructors
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.
Overloads
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. |
VirtualMachineSize()
Initializes a new instance of the VirtualMachineSize class.
public VirtualMachineSize ();
Public Sub New ()
Applies to
VirtualMachineSize(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the VirtualMachineSize class.
public VirtualMachineSize (string name = default, int? numberOfCores = default, int? osDiskSizeInMB = default, int? resourceDiskSizeInMB = default, int? memoryInMB = default, int? maxDataDiskCount = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineSize : string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineSize
Public Sub New (Optional name As String = Nothing, Optional numberOfCores As Nullable(Of Integer) = Nothing, Optional osDiskSizeInMB As Nullable(Of Integer) = Nothing, Optional resourceDiskSizeInMB As Nullable(Of Integer) = Nothing, Optional memoryInMB As Nullable(Of Integer) = Nothing, Optional maxDataDiskCount As Nullable(Of Integer) = Nothing)
Parameters
- name
- String
The name of the virtual machine size.
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
The resource disk size, in MB, allowed by the virtual machine size.
The maximum number of data disks that can be attached to the virtual machine size.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應