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. NOTE: This property will not be serialized. It can only be populated by the server. |
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. NOTE: This property will not be serialized. It can only be populated by the server. |
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. NOTE: This property will not be serialized. It can only be populated by the server.
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. NOTE: This property will not be serialized. It can only be populated by the server.
values?: string[]
Property Value
string[]