你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RulesEngineMatchCondition 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
RulesEngineMatchCondition() |
Initializes a new instance of the RulesEngineMatchCondition class. |
RulesEngineMatchCondition(String, String, IList<String>, String, Nullable<Boolean>, IList<String>) |
Initializes a new instance of the RulesEngineMatchCondition class. |
RulesEngineMatchCondition()
Initializes a new instance of the RulesEngineMatchCondition class.
public RulesEngineMatchCondition ();
Public Sub New ()
Applies to
RulesEngineMatchCondition(String, String, IList<String>, String, Nullable<Boolean>, IList<String>)
Initializes a new instance of the RulesEngineMatchCondition class.
public RulesEngineMatchCondition (string rulesEngineMatchVariable, string rulesEngineOperator, System.Collections.Generic.IList<string> rulesEngineMatchValue, string selector = default, bool? negateCondition = default, System.Collections.Generic.IList<string> transforms = default);
new Microsoft.Azure.Management.FrontDoor.Models.RulesEngineMatchCondition : string * string * System.Collections.Generic.IList<string> * string * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.FrontDoor.Models.RulesEngineMatchCondition
Public Sub New (rulesEngineMatchVariable As String, rulesEngineOperator As String, rulesEngineMatchValue As IList(Of String), Optional selector As String = Nothing, Optional negateCondition As Nullable(Of Boolean) = Nothing, Optional transforms As IList(Of String) = Nothing)
Parameters
- rulesEngineMatchVariable
- String
Match Variable Possible values include: 'IsMobile', 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestPath', 'RequestFilename', 'RequestFilenameExtension', 'RequestHeader', 'RequestBody', 'RequestScheme'
- rulesEngineOperator
- String
Describes operator to apply to the match condition. Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith'
Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- selector
- String
Name of selector in RequestHeader or RequestBody to be matched