Share via


Restriction Class

Definition

The restriction because of which SKU cannot be used.

public class Restriction
type Restriction = class
Public Class Restriction
Inheritance
Restriction

Constructors

Restriction()

Initializes a new instance of the Restriction class.

Restriction(String, IList<String>, String)

Initializes a new instance of the Restriction class.

Properties

ReasonCode

Gets or sets 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'

Type

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

Values

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

Applies to