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

CloudServiceRoleSku Class

Describes the cloud service role sku.

Constructor

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

Keyword-Only Parameters

Name Description
name
str

The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.

tier
str

Specifies the tier of the cloud service. Possible Values are <br />``<br /> Standard <br />``<br /> Basic.

capacity
int

Specifies the number of role instances in the cloud service.

Variables

Name Description
name
str

The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.

tier
str

Specifies the tier of the cloud service. Possible Values are <br />``<br /> Standard <br />``<br /> Basic.

capacity
int

Specifies the number of role instances in the cloud service.