你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SkuProfile 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
SkuProfile() |
Initializes a new instance of the SkuProfile class. |
SkuProfile(IList<SkuProfileVMSize>, String) |
Initializes a new instance of the SkuProfile class. |
SkuProfile()
Initializes a new instance of the SkuProfile class.
public SkuProfile ();
Public Sub New ()
Applies to
SkuProfile(IList<SkuProfileVMSize>, String)
Initializes a new instance of the SkuProfile class.
public SkuProfile (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SkuProfileVMSize> vmSizes = default, string allocationStrategy = default);
new Microsoft.Azure.Management.Compute.Models.SkuProfile : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SkuProfileVMSize> * string -> Microsoft.Azure.Management.Compute.Models.SkuProfile
Public Sub New (Optional vmSizes As IList(Of SkuProfileVMSize) = Nothing, Optional allocationStrategy As String = Nothing)
Parameters
- vmSizes
- IList<SkuProfileVMSize>
Specifies the VM sizes for the virtual machine scale set.
- allocationStrategy
- String
Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated. Possible values include: 'LowestPrice', 'CapacityOptimized'