Restriction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>, ReasonCode) |
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. |