MatchCondition 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
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'
- selector
- String
Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.