SkuProfile Class
Specifies the sku profile for the virtual machine scale set. With this property the customer is able to specify a list of VM sizes and an allocation strategy.
Constructor
SkuProfile()
Variables
| Name | Description |
|---|---|
|
vm_sizes
|
list[<xref:"SkuProfileVMSize">]
Specifies the VM sizes for the virtual machine scale set. |
|
allocation_strategy
|
Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated. Known values are: "LowestPrice", "CapacityOptimized", and "Prioritized". |
|
automatic_sku_migration_policy
|
<xref:<xref:"AutomaticSkuMigrationPolicy">>
Specifies the policy that controls whether the platform may automatically migrate scale set instances to a different VM size from the SKU profile depending on platform demands. When omitted, automatic SKU migration is disabled. |
Attributes
allocationStrategy
Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated. Known values are: "LowestPrice", "CapacityOptimized", and "Prioritized".
allocationStrategy: str | AllocationStrategy
automaticSkuMigrationPolicy
Specifies the policy that controls whether the platform may automatically migrate scale set instances to a different VM size from the SKU profile depending on platform demands. When omitted, automatic SKU migration is disabled.
automaticSkuMigrationPolicy: AutomaticSkuMigrationPolicy
vmSizes
Specifies the VM sizes for the virtual machine scale set.
vmSizes: list['SkuProfileVMSize']