Compartilhar via


WebApplicationFirewallCustomRule Construtor

Definição

Inicializa uma nova instância de WebApplicationFirewallCustomRule.

public WebApplicationFirewallCustomRule (int priority, Azure.ResourceManager.Network.Models.WebApplicationFirewallRuleType ruleType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.MatchCondition> matchConditions, Azure.ResourceManager.Network.Models.WebApplicationFirewallAction action);
new Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule : int * Azure.ResourceManager.Network.Models.WebApplicationFirewallRuleType * seq<Azure.ResourceManager.Network.Models.MatchCondition> * Azure.ResourceManager.Network.Models.WebApplicationFirewallAction -> Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule
Public Sub New (priority As Integer, ruleType As WebApplicationFirewallRuleType, matchConditions As IEnumerable(Of MatchCondition), action As WebApplicationFirewallAction)

Parâmetros

priority
Int32

Prioridade da regra. As regras com um valor mais baixo serão avaliadas antes de regras com um valor mais alto.

ruleType
WebApplicationFirewallRuleType

O tipo de regra.

matchConditions
IEnumerable<MatchCondition>

Lista de condições de correspondência.

action
WebApplicationFirewallAction

Tipo de Ações.

Exceções

matchConditions é nulo.

Aplica-se a