Udostępnij za pośrednictwem


ResourceSkuRestrictions Constructors

Definition

Overloads

ResourceSkuRestrictions()

Initializes a new instance of the ResourceSkuRestrictions class.

ResourceSkuRestrictions(String, 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(String, IList<String>, ResourceSkuRestrictionInfo, String)

Initializes a new instance of the ResourceSkuRestrictions class.

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

Parameters

type
String

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

values
IList<String>

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

restrictionInfo
ResourceSkuRestrictionInfo

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

reasonCode
String

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

Applies to