ArmComputeModelFactory.ComputeSkuProfile Method
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.
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.
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.