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(*args: Any, **kwargs: Any)

Variables

Name Description
vm_sizes

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

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

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".

allocation_strategy: str | _models.AllocationStrategy | None

automatic_sku_migration_policy

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.

automatic_sku_migration_policy: _models.AutomaticSkuMigrationPolicy | None

vm_sizes

Specifies the VM sizes for the virtual machine scale set.

vm_sizes: list['_models.SkuProfileVMSize'] | None