Partilhar via


ArmAppPlatformModelFactory.AppPlatformSkuRestrictions Método

Definição

Inicializa uma nova instância de AppPlatformSkuRestrictions.

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictions AppPlatformSkuRestrictions (Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictionsType? restrictionsType = default, System.Collections.Generic.IEnumerable<string> values = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictionInfo restrictionInfo = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictionsReasonCode? reasonCode = default);
static member AppPlatformSkuRestrictions : Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictionsType> * seq<string> * Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictionInfo * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictionsReasonCode> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictions
Public Shared Function AppPlatformSkuRestrictions (Optional restrictionsType As Nullable(Of AppPlatformSkuRestrictionsType) = Nothing, Optional values As IEnumerable(Of String) = Nothing, Optional restrictionInfo As AppPlatformSkuRestrictionInfo = Nothing, Optional reasonCode As Nullable(Of AppPlatformSkuRestrictionsReasonCode) = Nothing) As AppPlatformSkuRestrictions

Parâmetros

restrictionsType
Nullable<AppPlatformSkuRestrictionsType>

Obtém o tipo de restrições. Os valores possíveis incluem: 'Location', 'Zone'.

values
IEnumerable<String>

Obtém o valor das restrições. Se o tipo de restrição estiver definido como local. Esses seriam locais diferentes em que o SKU é restrito.

restrictionInfo
AppPlatformSkuRestrictionInfo

Obtém as informações sobre a restrição em que o SKU não pode ser usado.

reasonCode
Nullable<AppPlatformSkuRestrictionsReasonCode>

Obtém o motivo da restrição. Os valores possíveis incluem: 'QuotaId', 'NotAvailableForSubscription'.

Retornos

Uma nova AppPlatformSkuRestrictions instância para simulação.

Aplica-se a