Sdílet prostřednictvím


WebApplicationCustomRule Constructor

Definition

Initializes a new instance of 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)

Parameters

priority
Int32

Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

ruleType
WebApplicationRuleType

Describes type of rule.

matchConditions
IEnumerable<WebApplicationRuleMatchCondition>

List of match conditions.

action
RuleMatchActionType

Describes what action to be applied when rule matches.

Exceptions

matchConditions is null.

Applies to