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

ResourceSku Class

Describes an available Cognitive Services SKU.

Constructor

ResourceSku(*, resource_type: str | None = None, name: str | None = None, tier: str | None = None, kind: str | None = None, locations: list[str] | None = None, restrictions: list['_models.ResourceSkuRestrictions'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
resource_type
str

The type of resource the SKU applies to.

Default value: None
name
str

The name of SKU.

Default value: None
tier
str

Specifies the tier of Cognitive Services account.

Default value: None
kind
str

The Kind of resources that are supported in this SKU.

Default value: None
locations

The set of locations that the SKU is available.

Default value: None
restrictions

The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.

Default value: None

Variables

Name Description
resource_type
str

The type of resource the SKU applies to.

name
str

The name of SKU.

tier
str

Specifies the tier of Cognitive Services account.

kind
str

The Kind of resources that are supported in this SKU.

locations

The set of locations that the SKU is available.

restrictions

The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.