Partager via


SkuProfile Constructors

Definition

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'

Applies to