次の方法で共有


Restriction Class

The restriction because of which SKU cannot be used.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.storage._serialization.Model
Restriction

Constructor

Restriction(*, reason_code: str | _models.ReasonCode | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
reason_code

The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".

Variables

Name Description
type
str

The type of restrictions. As of now only possible value for this is location.

values

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

reason_code

The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".