你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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