Restriction interface
The restrictions preventing this SKU from being used.
Properties
| reason |
The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". "QuotaId" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. "NotAvailableForSubscription" is related to capacity at the datacenter. |
| type | The type of restrictions. In this version, the only possible value for this is location. |
| values | The value of restrictions. If the restriction type is set to location, then this would be the different locations where the SKU is restricted. |
Property Details
reasonCode
The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". "QuotaId" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. "NotAvailableForSubscription" is related to capacity at the datacenter.
reasonCode?: string
Property Value
string
type
The type of restrictions. In this version, the only possible value for this is location.
type?: string
Property Value
string
values
The value of restrictions. If the restriction type is set to location, then this would be the different locations where the SKU is restricted.
values?: string[]
Property Value
string[]