ApiManagementSkuRestrictions Constructors

Definition

Overloads

ApiManagementSkuRestrictions()

Initializes a new instance of the ApiManagementSkuRestrictions class.

ApiManagementSkuRestrictions(Nullable<ApiManagementSkuRestrictionsType>, IList<String>, ApiManagementSkuRestrictionInfo, Nullable<ApiManagementSkuRestrictionsReasonCode>)

Initializes a new instance of the ApiManagementSkuRestrictions class.

ApiManagementSkuRestrictions()

Initializes a new instance of the ApiManagementSkuRestrictions class.

public ApiManagementSkuRestrictions ();
Public Sub New ()

Applies to

ApiManagementSkuRestrictions(Nullable<ApiManagementSkuRestrictionsType>, IList<String>, ApiManagementSkuRestrictionInfo, Nullable<ApiManagementSkuRestrictionsReasonCode>)

Initializes a new instance of the ApiManagementSkuRestrictions class.

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

Parameters

type
Nullable<ApiManagementSkuRestrictionsType>

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
ApiManagementSkuRestrictionInfo

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

reasonCode
Nullable<ApiManagementSkuRestrictionsReasonCode>

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

Applies to