ArmNetworkModelFactory.ApplicationGatewayFirewallRule 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.
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.
The string representation of the web application firewall rule state.
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.