ArmCdnModelFactory.MatchConditionFrontDoor Method

Definition

Define a match condition.

public static Azure.ResourceManager.Cdn.Models.MatchConditionFrontDoor MatchConditionFrontDoor(Azure.ResourceManager.Cdn.Models.DeliveryRuleMatchVariable matchVariable = default, string selector = default, Azure.ResourceManager.Cdn.Models.MatchOperator matchOperator = default, bool? negateCondition = default, System.Collections.Generic.IEnumerable<string> matchValue = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.TransformType> transforms = default);
static member MatchConditionFrontDoor : Azure.ResourceManager.Cdn.Models.DeliveryRuleMatchVariable * string * Azure.ResourceManager.Cdn.Models.MatchOperator * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.Cdn.Models.TransformType> -> Azure.ResourceManager.Cdn.Models.MatchConditionFrontDoor
Public Shared Function MatchConditionFrontDoor (Optional matchVariable As DeliveryRuleMatchVariable = Nothing, Optional selector As String = Nothing, Optional matchOperator As MatchOperator = Nothing, Optional negateCondition As Nullable(Of Boolean) = Nothing, Optional matchValue As IEnumerable(Of String) = Nothing, Optional transforms As IEnumerable(Of TransformType) = Nothing) As MatchConditionFrontDoor

Parameters

matchVariable
DeliveryRuleMatchVariable

Request variable to compare with.

selector
String

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

matchOperator
MatchOperator

Comparison type to use for matching with the variable value.

negateCondition
Nullable<Boolean>

Describes if the result of this condition should be negated.

matchValue
IEnumerable<String>

List of possible match values.

transforms
IEnumerable<TransformType>

List of transforms.

Returns

A new MatchConditionFrontDoor instance for mocking.

Applies to