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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET