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.

Inheritance
azure.mgmt.compute._serialization.Model
SkuProfile

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.

allocation_strategy

Specifies the allocation strategy for the virtual machine scale set based on which the VMs will be allocated. Known values are: "LowestPrice" and "CapacityOptimized".

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