Udostępnij za pośrednictwem


Restriction Constructors

Definition

Overloads

Restriction()

Initializes a new instance of the Restriction class.

Restriction(String, IList<String>, ReasonCode)

Initializes a new instance of the Restriction class.

Restriction()

Initializes a new instance of the Restriction class.

public Restriction ();
Public Sub New ()

Applies to

Restriction(String, IList<String>, ReasonCode)

Initializes a new instance of the Restriction class.

public Restriction (string type = default, System.Collections.Generic.IList<string> values = default, Microsoft.Azure.Management.Storage.Fluent.Models.ReasonCode reasonCode = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.Restriction : string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Storage.Fluent.Models.ReasonCode -> Microsoft.Azure.Management.Storage.Fluent.Models.Restriction
Public Sub New (Optional type As String = Nothing, Optional values As IList(Of String) = Nothing, Optional reasonCode As ReasonCode = Nothing)

Parameters

type
String

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

values
IList<String>

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

reasonCode
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. Possible values include: 'QuotaId', 'NotAvailableForSubscription'

Applies to