ArmReservationsModelFactory.SkuRestriction Method
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.
Initializes a new instance of SkuRestriction.
public static Azure.ResourceManager.Reservations.Models.SkuRestriction SkuRestriction (string skuRestrictionType = default, System.Collections.Generic.IEnumerable<string> values = default, string reasonCode = default);
static member SkuRestriction : string * seq<string> * string -> Azure.ResourceManager.Reservations.Models.SkuRestriction
Public Shared Function SkuRestriction (Optional skuRestrictionType As String = Nothing, Optional values As IEnumerable(Of String) = Nothing, Optional reasonCode As String = Nothing) As SkuRestriction
Parameters
- skuRestrictionType
- String
The type of restrictions.
- values
- IEnumerable<String>
The value of restrictions. If the restriction type is set to location. This would be different locations where the sku is restricted.
- reasonCode
- String
The reason for restriction.
Returns
A new SkuRestriction instance for mocking.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET