ResourceSkuRestrictions Constructors

Definition

Overloads

ResourceSkuRestrictions()

Initializes a new instance of the ResourceSkuRestrictions class.

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

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, Nullable<ResourceSkuRestrictionsReasonCode>)

Initializes a new instance of the ResourceSkuRestrictions class.

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

Parameters

type
System.Nullable<ResourceSkuRestrictionsType>

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

values
System.Collections.Generic.IList<System.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
System.Nullable<ResourceSkuRestrictionsReasonCode>

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

Applies to