WebApplicationFirewallCustomRule Constructor
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.
Initializes a new instance of WebApplicationFirewallCustomRule.
public WebApplicationFirewallCustomRule (int priority, Azure.ResourceManager.Network.Models.WebApplicationFirewallRuleType ruleType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.MatchCondition> matchConditions, Azure.ResourceManager.Network.Models.WebApplicationFirewallAction action);
new Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule : int * Azure.ResourceManager.Network.Models.WebApplicationFirewallRuleType * seq<Azure.ResourceManager.Network.Models.MatchCondition> * Azure.ResourceManager.Network.Models.WebApplicationFirewallAction -> Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule
Public Sub New (priority As Integer, ruleType As WebApplicationFirewallRuleType, matchConditions As IEnumerable(Of MatchCondition), action As WebApplicationFirewallAction)
Parameters
- priority
- Int32
Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType
- WebApplicationFirewallRuleType
The rule type.
- matchConditions
- IEnumerable<MatchCondition>
List of match conditions.
- action
- WebApplicationFirewallAction
Type of Actions.
Exceptions
matchConditions
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for