通过


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

Sku Class

An ARM Resource SKU.

All required parameters must be populated in order to send to Azure.

Constructor

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

Parameters

Name Description
name
Required
str

Required. The name of the SKU, typically, a letter + Number code, e.g. P3.

tier
Required
str

The tier or edition of the particular SKU, e.g. Basic, Premium.

size
Required
str

Size of the particular SKU.

family
Required
str

If the service has different generations of hardware, for the same SKU, then that can be captured here.

capacity
Required
int

Capacity of the particular SKU.

Keyword-Only Parameters

Name Description
name
Required
tier
Default value: None
size
Default value: None
family
Default value: None
capacity
Default value: None