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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET