ResourceSkuRestrictions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Models.ResourceSkuRestrictionsType? type = default, System.Collections.Generic.IList<string> values = default, Microsoft.Azure.Management.Compute.Models.ResourceSkuRestrictionInfo restrictionInfo = default, Microsoft.Azure.Management.Compute.Models.ResourceSkuRestrictionsReasonCode? reasonCode = default);
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) = Nothing, Optional values As IList(Of String) = Nothing, Optional restrictionInfo As ResourceSkuRestrictionInfo = Nothing, Optional reasonCode As Nullable(Of ResourceSkuRestrictionsReasonCode) = Nothing)
Parameters
The type of restrictions. Possible values include: 'Location', 'Zone'
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
Azure SDK for .NET