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
Restriction

Constructor

Restriction(*, reason_code: Optional[Union[str, azure.mgmt.storage.v2020_08_01_preview.models._storage_management_client_enums.ReasonCode]] = None, **kwargs)

Variables

type
str

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

values
list[str]

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

reason_code
str or ReasonCode

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. Possible values include: "QuotaId", "NotAvailableForSubscription".