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

ResourceSkuRestrictions Class

Describes scaling information of a SKU.

Constructor

ResourceSkuRestrictions(*args: Any, **kwargs: Any)

Variables

Name Description
type

The type of restrictions. Known values are: "Location" and "Zone".

values_property

The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.

restriction_info

The information about the restriction where the SKU cannot be used.

reason_code

The reason for restriction. Known values are: "QuotaId" and "NotAvailableForSubscription".

Attributes

reason_code

"QuotaId" and "NotAvailableForSubscription".

reason_code: str | _models.ResourceSkuRestrictionsReasonCode | None

restriction_info

The information about the restriction where the SKU cannot be used.

restriction_info: _models.ResourceSkuRestrictionInfo | None

type

"Location" and "Zone".

type: str | _models.ResourceSkuRestrictionsType | None

values_property

The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.

values_property: list[str] | None