ArmNetworkModelFactory.MatchCondition 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.Network.Models.MatchCondition MatchCondition(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.MatchVariable> matchVariables = default, Azure.ResourceManager.Network.Models.WebApplicationFirewallOperator operator = default, bool? negationConditon = default, System.Collections.Generic.IEnumerable<string> matchValues = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.WebApplicationFirewallTransform> transforms = default);
static member MatchCondition : seq<Azure.ResourceManager.Network.Models.MatchVariable> * Azure.ResourceManager.Network.Models.WebApplicationFirewallOperator * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.Network.Models.WebApplicationFirewallTransform> -> Azure.ResourceManager.Network.Models.MatchCondition
Public Shared Function MatchCondition (Optional matchVariables As IEnumerable(Of MatchVariable) = Nothing, Optional operator As WebApplicationFirewallOperator = Nothing, Optional negationConditon As Nullable(Of Boolean) = Nothing, Optional matchValues As IEnumerable(Of String) = Nothing, Optional transforms As IEnumerable(Of WebApplicationFirewallTransform) = Nothing) As MatchCondition
Parameters
- matchVariables
- IEnumerable<MatchVariable>
List of match variables.
- operator
- WebApplicationFirewallOperator
The operator to be matched.
- matchValues
- IEnumerable<String>
Match value.
- transforms
- IEnumerable<WebApplicationFirewallTransform>
List of transforms.
Returns
A new MatchCondition instance for mocking.