Partager via


RulesEngineRule Constructors

Definition

Overloads

RulesEngineRule()

Initializes a new instance of the RulesEngineRule class.

RulesEngineRule(String, Int32, RulesEngineAction, IList<RulesEngineMatchCondition>, String)

Initializes a new instance of the RulesEngineRule class.

RulesEngineRule()

Initializes a new instance of the RulesEngineRule class.

public RulesEngineRule ();
Public Sub New ()

Applies to

RulesEngineRule(String, Int32, RulesEngineAction, IList<RulesEngineMatchCondition>, String)

Initializes a new instance of the RulesEngineRule class.

public RulesEngineRule (string name, int priority, Microsoft.Azure.Management.FrontDoor.Models.RulesEngineAction action, System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.RulesEngineMatchCondition> matchConditions = default, string matchProcessingBehavior = default);
new Microsoft.Azure.Management.FrontDoor.Models.RulesEngineRule : string * int * Microsoft.Azure.Management.FrontDoor.Models.RulesEngineAction * System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.RulesEngineMatchCondition> * string -> Microsoft.Azure.Management.FrontDoor.Models.RulesEngineRule
Public Sub New (name As String, priority As Integer, action As RulesEngineAction, Optional matchConditions As IList(Of RulesEngineMatchCondition) = Nothing, Optional matchProcessingBehavior As String = Nothing)

Parameters

name
String

A name to refer to this specific rule.

priority
Int32

A priority assigned to this rule.

action
RulesEngineAction

Actions to perform on the request and response if all of the match conditions are met.

matchConditions
IList<RulesEngineMatchCondition>

A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.

matchProcessingBehavior
String

If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: 'Continue', 'Stop'

Applies to