Share via


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(*, vm_sizes: list['_models.SkuProfileVMSize'] | None = None, allocation_strategy: str | _models.AllocationStrategy | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
vm_sizes

Specifies the VM sizes for the virtual machine scale set.

Default value: None
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".

Default value: None

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