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 (Microsoft.Azure.Management.Compute.Fluent.Models.ResourceSkuRestrictionsType? type = default, System.Collections.Generic.IList<string> values = default, Microsoft.Azure.Management.Compute.Fluent.Models.ResourceSkuRestrictionInfo restrictionInfo = default, Microsoft.Azure.Management.Compute.Fluent.Models.ResourceSkuRestrictionsReasonCode? reasonCode = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.ResourceSkuRestrictions : Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.ResourceSkuRestrictionsType> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Fluent.Models.ResourceSkuRestrictionInfo * Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.ResourceSkuRestrictionsReasonCode> -> Microsoft.Azure.Management.Compute.Fluent.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 Nullable(Of ResourceSkuRestrictionsReasonCode) = 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
Nullable<ResourceSkuRestrictionsReasonCode>

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

Applies to