ArmFrontDoorModelFactory.RulesEngineMatchCondition Method

Definition

public static Azure.ResourceManager.FrontDoor.Models.RulesEngineMatchCondition RulesEngineMatchCondition(Azure.ResourceManager.FrontDoor.Models.RulesEngineMatchVariable rulesEngineMatchVariable = default, string selector = default, Azure.ResourceManager.FrontDoor.Models.RulesEngineOperator rulesEngineOperator = default, bool? isNegateCondition = default, System.Collections.Generic.IEnumerable<string> rulesEngineMatchValue = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.RulesEngineMatchTransform> transforms = default);
static member RulesEngineMatchCondition : Azure.ResourceManager.FrontDoor.Models.RulesEngineMatchVariable * string * Azure.ResourceManager.FrontDoor.Models.RulesEngineOperator * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.FrontDoor.Models.RulesEngineMatchTransform> -> Azure.ResourceManager.FrontDoor.Models.RulesEngineMatchCondition
Public Shared Function RulesEngineMatchCondition (Optional rulesEngineMatchVariable As RulesEngineMatchVariable = Nothing, Optional selector As String = Nothing, Optional rulesEngineOperator As RulesEngineOperator = Nothing, Optional isNegateCondition As Nullable(Of Boolean) = Nothing, Optional rulesEngineMatchValue As IEnumerable(Of String) = Nothing, Optional transforms As IEnumerable(Of RulesEngineMatchTransform) = Nothing) As RulesEngineMatchCondition

Parameters

rulesEngineMatchVariable
RulesEngineMatchVariable

Match Variable.

selector
String

Name of selector in RequestHeader or RequestBody to be matched.

rulesEngineOperator
RulesEngineOperator

Describes operator to apply to the match condition.

isNegateCondition
Nullable<Boolean>

Describes if this is negate condition or not.

rulesEngineMatchValue
IEnumerable<String>

Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.

transforms
IEnumerable<RulesEngineMatchTransform>

List of transforms.

Returns

A new RulesEngineMatchCondition instance for mocking.

Applies to