Sku Class

Describes a virtual machine scale set sku.

Inheritance
azure.mgmt.compute._serialization.Model
Sku

Constructor

Sku(*, name: str | None = None, tier: str | None = None, capacity: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The sku name.

tier
str

Specifies the tier of virtual machines in a scale set.:code:
<br /> Possible Values:<br />``<br /> Standard<br />``<br /> Basic.

capacity
int

Specifies the number of virtual machines in the scale set. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

Variables

Name Description
name
str

The sku name.

tier
str

Specifies the tier of virtual machines in a scale set.:code:
<br /> Possible Values:<br />``<br /> Standard<br />``<br /> Basic.

capacity
int

Specifies the number of virtual machines in the scale set. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.