Partager via


RulesEngineMatchCondition Constructors

Definition

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'

rulesEngineMatchValue
IList<String>

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

negateCondition
Nullable<Boolean>

Describes if this is negate condition or not

transforms
IList<String>

List of transforms

Applies to