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

Sku Class

The resource model definition representing SKU.

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

Constructor

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

Keyword-Only Parameters

Name Description
name
str

The name of the SKU. Ex - P3. It is typically a letter+number code. Required.

tier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Known values are: "Free", "Basic", "Standard", "Premium", and "Enterprise".

Default value: None
size
str

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

Default value: None
family
str

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

Default value: None
capacity
int

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

Default value: None

Variables

Name Description
name
str

The name of the SKU. Ex - P3. It is typically a letter+number code. Required.

tier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Known values are: "Free", "Basic", "Standard", "Premium", and "Enterprise".

size
str

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

family
str

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

capacity
int

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.