ArmFrontDoorModelFactory.RulesEngineMatchCondition Method
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.
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.
- 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.