共用方式為


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.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'

matchValue
IList<String>

List of possible match values.

selector
String

Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.

negateCondition
Nullable<Boolean>

Describes if the result of this condition should be negated.

transforms
IList<String>

List of transforms.

Applies to