SkuRestriction Constructors

Definition

Overloads

SkuRestriction()

Initializes a new instance of the SkuRestriction class.

SkuRestriction(String, IList<String>, String)

Initializes a new instance of the SkuRestriction class.

SkuRestriction()

Initializes a new instance of the SkuRestriction class.

public SkuRestriction ();
Public Sub New ()

Applies to

SkuRestriction(String, IList<String>, String)

Initializes a new instance of the SkuRestriction class.

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

Parameters

type
String

The type of restrictions.

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
String

The reason for restriction.

Applies to