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. 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. This would be 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". 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. 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. This would be 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[]