ArmFrontDoorModelFactory.WebApplicationRuleMatchCondition 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.WebApplicationRuleMatchCondition WebApplicationRuleMatchCondition(Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchVariable matchVariable = default, string selector = default, Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchOperator operator = default, bool? isNegateCondition = default, System.Collections.Generic.IEnumerable<string> matchValue = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchTransformType> transforms = default);
static member WebApplicationRuleMatchCondition : Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchVariable * string * Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchOperator * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchTransformType> -> Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchCondition
Public Shared Function WebApplicationRuleMatchCondition (Optional matchVariable As WebApplicationRuleMatchVariable = Nothing, Optional selector As String = Nothing, Optional operator As WebApplicationRuleMatchOperator = Nothing, Optional isNegateCondition As Nullable(Of Boolean) = Nothing, Optional matchValue As IEnumerable(Of String) = Nothing, Optional transforms As IEnumerable(Of WebApplicationRuleMatchTransformType) = Nothing) As WebApplicationRuleMatchCondition
Parameters
- matchVariable
- WebApplicationRuleMatchVariable
Request variable to compare with.
- selector
- String
Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- operator
- WebApplicationRuleMatchOperator
Comparison type to use for matching with the variable value.
- matchValue
- IEnumerable<String>
List of possible match values.
- transforms
- IEnumerable<WebApplicationRuleMatchTransformType>
List of transforms.
Returns
A new WebApplicationRuleMatchCondition instance for mocking.