共用方式為


WebApplicationFirewallCustomRule Constructor

Definition

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