Share via


IRestriction.ReasonCode Property

Definition

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.

[Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "QuotaId", "NotAvailableForSubscription" })]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=true, Description="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.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="reasonCode", Update=true)]
public string ReasonCode { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "QuotaId", "NotAvailableForSubscription" })>]
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=true, Description="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.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="reasonCode", Update=true)>]
member this.ReasonCode : string with get, set
Public Property ReasonCode As String

Property Value

Attributes

Applies to