ArmComputeModelFactory.ComputeSkuProfile Method

Definition

public static Azure.ResourceManager.Compute.Models.ComputeSkuProfile ComputeSkuProfile(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeSkuProfileVmSize> vmSizes = default, Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy? allocationStrategy = default, bool? isAutomaticSkuMigrationPolicyEnabled = default);
static member ComputeSkuProfile : seq<Azure.ResourceManager.Compute.Models.ComputeSkuProfileVmSize> * Nullable<Azure.ResourceManager.Compute.Models.ComputeAllocationStrategy> * Nullable<bool> -> Azure.ResourceManager.Compute.Models.ComputeSkuProfile
Public Shared Function ComputeSkuProfile (Optional vmSizes As IEnumerable(Of ComputeSkuProfileVmSize) = Nothing, Optional allocationStrategy As Nullable(Of ComputeAllocationStrategy) = Nothing, Optional isAutomaticSkuMigrationPolicyEnabled As Nullable(Of Boolean) = Nothing) As ComputeSkuProfile

Parameters

vmSizes
IEnumerable<ComputeSkuProfileVmSize>

Specifies the VM sizes for the virtual machine scale set.

allocationStrategy
Nullable<ComputeAllocationStrategy>

Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated.

isAutomaticSkuMigrationPolicyEnabled
Nullable<Boolean>

Specifies whether automatic SKU migration should be enabled on the virtual machine scale set. The default value is false.

Returns

A new ComputeSkuProfile instance for mocking.

Applies to