你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Sku Class
Describes a virtual machine scale set sku. 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.
- Inheritance
-
azure.mgmt.compute._serialization.ModelSku
Constructor
Sku(*, name: str | None = None, tier: str | None = None, capacity: int | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
The sku name. |
tier
|
Specifies the tier of virtual machines in a scale set.:code: |
capacity
|
Specifies the number of virtual machines in the scale set. |
Variables
Name | Description |
---|---|
name
|
The sku name. |
tier
|
Specifies the tier of virtual machines in a scale set.:code: |
capacity
|
Specifies the number of virtual machines in the scale set. |