你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RulesEngineRule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'