Język

ArmNetworkModelFactory.ApplicationGatewayFirewallRule Method

Definition

A web application firewall rule.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayFirewallRule ApplicationGatewayFirewallRule(int ruleId, string ruleIdString, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleStateType? state, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleActionType? action, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleSensitivityType? sensitivity, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleParanoiaLevel? paranoiaLevel, string description);
static member ApplicationGatewayFirewallRule : int * string * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleStateType> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleActionType> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleSensitivityType> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleParanoiaLevel> * string -> Azure.ResourceManager.Network.Models.ApplicationGatewayFirewallRule
Public Shared Function ApplicationGatewayFirewallRule (ruleId As Integer, ruleIdString As String, state As Nullable(Of ApplicationGatewayWafRuleStateType), action As Nullable(Of ApplicationGatewayWafRuleActionType), sensitivity As Nullable(Of ApplicationGatewayWafRuleSensitivityType), paranoiaLevel As Nullable(Of ApplicationGatewayWafRuleParanoiaLevel), description As String) As ApplicationGatewayFirewallRule

Parameters

ruleId
Int32

The identifier of the web application firewall rule.

ruleIdString
String

The string representation of the web application firewall rule identifier.

state
Nullable<ApplicationGatewayWafRuleStateType>

The string representation of the web application firewall rule state.

action
Nullable<ApplicationGatewayWafRuleActionType>

The string representation of the web application firewall rule action.

sensitivity
Nullable<ApplicationGatewayWafRuleSensitivityType>

The string representation of the web application firewall rule sensitivity.

paranoiaLevel
Nullable<ApplicationGatewayWafRuleParanoiaLevel>

OWASP CRS paranoia level of a managed rule. Applicable only for DRS and OWASP rules.

description
String

The description of the web application firewall rule.

Returns

A new ApplicationGatewayFirewallRule instance for mocking.

Applies to