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.Cdn.Models.MatchCondition : string * string * System.Collections.Generic.IList<string> * string * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Cdn.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
Match variable to compare against. Possible values include: 'RemoteAddr', 'SocketAddr', 'RequestMethod', 'RequestHeader', 'RequestUri', 'QueryString', 'RequestBody', 'Cookies', 'PostArgs'
- operatorProperty
- String
Describes operator to be matched. Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'RegEx'
- selector
- String
Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.