Share via


MatchCondition Constructors

Definition

Overloads

MatchCondition()

Initializes a new instance of the MatchCondition class.

MatchCondition(String, String, IList<String>, String, Nullable<Boolean>, IList<String>)

Initializes a new instance of the MatchCondition class.

MatchCondition()

Initializes a new instance of the MatchCondition class.

public MatchCondition ();
Public Sub New ()

Applies to

MatchCondition(String, String, IList<String>, String, Nullable<Boolean>, IList<String>)

Initializes a new instance of the MatchCondition class.

public MatchCondition (string matchVariable, string operatorProperty, System.Collections.Generic.IList<string> matchValue, string selector = default, bool? negateCondition = default, System.Collections.Generic.IList<string> transforms = default);
new Microsoft.Azure.Management.FrontDoor.Models.MatchCondition : string * string * System.Collections.Generic.IList<string> * string * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.FrontDoor.Models.MatchCondition
Public Sub New (matchVariable As String, operatorProperty As String, matchValue As IList(Of String), Optional selector As String = Nothing, Optional negateCondition As Nullable(Of Boolean) = Nothing, Optional transforms As IList(Of String) = Nothing)

Parameters

matchVariable
String

Request variable to compare with. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestHeader', 'RequestBody', 'Cookies', 'SocketAddr'

operatorProperty
String

Comparison type to use for matching with the variable value. Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'RegEx'

matchValue
IList<String>

List of possible match values.

selector
String

Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

negateCondition
Nullable<Boolean>

Describes if the result of this condition should be negated.

transforms
IList<String>

List of transforms.

Applies to