Partilhar via


WebApplicationCustomRule Construtor

Definição

Inicializa uma nova instância de WebApplicationCustomRule.

public WebApplicationCustomRule (int priority, Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleType ruleType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchCondition> matchConditions, Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType action);
new Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule : int * Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleType * seq<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchCondition> * Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType -> Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule
Public Sub New (priority As Integer, ruleType As WebApplicationRuleType, matchConditions As IEnumerable(Of WebApplicationRuleMatchCondition), action As RuleMatchActionType)

Parâmetros

priority
Int32

Descreve a prioridade da regra. As regras com um valor mais baixo serão avaliadas antes das regras com um valor mais alto.

ruleType
WebApplicationRuleType

Descreve o tipo de regra.

matchConditions
IEnumerable<WebApplicationRuleMatchCondition>

Lista de condições de correspondência.

action
RuleMatchActionType

Descreve qual ação a ser aplicada quando a regra corresponde.

Exceções

matchConditions é nulo.

Aplica-se a