Delen via


ResourceSkuRestrictions Constructors

Definition

Overloads

ResourceSkuRestrictions()

Initializes a new instance of the ResourceSkuRestrictions class.

ResourceSkuRestrictions(Nullable<ResourceSkuRestrictionsType>, IList<String>, ResourceSkuRestrictionInfo, String)

Initializes a new instance of the ResourceSkuRestrictions class.

ResourceSkuRestrictions()

Initializes a new instance of the ResourceSkuRestrictions class.

public ResourceSkuRestrictions ();
Public Sub New ()

Applies to

ResourceSkuRestrictions(Nullable<ResourceSkuRestrictionsType>, IList<String>, ResourceSkuRestrictionInfo, String)

Initializes a new instance of the ResourceSkuRestrictions class.

public ResourceSkuRestrictions (Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictionsType? type = default, System.Collections.Generic.IList<string> values = default, Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictionInfo restrictionInfo = default, string reasonCode = default);
new Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictions : Nullable<Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictionsType> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictionInfo * string -> Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictions
Public Sub New (Optional type As Nullable(Of ResourceSkuRestrictionsType) = Nothing, Optional values As IList(Of String) = Nothing, Optional restrictionInfo As ResourceSkuRestrictionInfo = Nothing, Optional reasonCode As String = Nothing)

Parameters

type
Nullable<ResourceSkuRestrictionsType>

The type of restrictions. Possible values include: 'Location', 'Zone'

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.

restrictionInfo
ResourceSkuRestrictionInfo

The information about the restriction where the SKU cannot be used.

reasonCode
String

The reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'

Applies to