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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기