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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET