Restriction interface

The restriction because of which SKU cannot be used.

Properties

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.

type

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.

Property Details

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.

reasonCode?: string

Property Value

string

type

The type of restrictions. As of now 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. This would be different locations where the SKU is restricted.

values?: string[]

Property Value

string[]