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.
Overloads
ApplicationGatewayFirewallRule(Int32, String, Nullable<ApplicationGatewayWafRuleStateType>, Nullable<ApplicationGatewayWafRuleActionType>, Nullable<ApplicationGatewayWafRuleSensitivityType>, String)
- Source:
- ArmNetworkModelFactory.cs
A web application firewall rule.
public static Azure.ResourceManager.Network.Models.ApplicationGatewayFirewallRule ApplicationGatewayFirewallRule(int ruleId = 0, string ruleIdString = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleStateType? state = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleActionType? action = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleSensitivityType? sensitivity = default, string description = default);
static member ApplicationGatewayFirewallRule : int * string * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleStateType> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleActionType> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleSensitivityType> * string -> Azure.ResourceManager.Network.Models.ApplicationGatewayFirewallRule
Public Shared Function ApplicationGatewayFirewallRule (Optional ruleId As Integer = 0, Optional ruleIdString As String = Nothing, Optional state As Nullable(Of ApplicationGatewayWafRuleStateType) = Nothing, Optional action As Nullable(Of ApplicationGatewayWafRuleActionType) = Nothing, Optional sensitivity As Nullable(Of ApplicationGatewayWafRuleSensitivityType) = Nothing, Optional description As String = Nothing) 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.
- description
- String
The description of the web application firewall rule.
Returns
A new ApplicationGatewayFirewallRule instance for mocking.
Applies to
ApplicationGatewayFirewallRule(Int32, String, Nullable<ApplicationGatewayWafRuleStateType>, Nullable<ApplicationGatewayWafRuleActionType>, Nullable<ApplicationGatewayWafRuleSensitivityType>, Nullable<ApplicationGatewayWafRuleParanoiaLevel>, String)
- Source:
- ArmNetworkModelFactory.cs
A web application firewall rule.
public static Azure.ResourceManager.Network.Models.ApplicationGatewayFirewallRule ApplicationGatewayFirewallRule(int ruleId = 0, string ruleIdString = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleStateType? state = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleActionType? action = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleSensitivityType? sensitivity = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWafRuleParanoiaLevel? paranoiaLevel = default, string description = default);
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 (Optional ruleId As Integer = 0, Optional ruleIdString As String = Nothing, Optional state As Nullable(Of ApplicationGatewayWafRuleStateType) = Nothing, Optional action As Nullable(Of ApplicationGatewayWafRuleActionType) = Nothing, Optional sensitivity As Nullable(Of ApplicationGatewayWafRuleSensitivityType) = Nothing, Optional paranoiaLevel As Nullable(Of ApplicationGatewayWafRuleParanoiaLevel) = Nothing, Optional description As String = Nothing) 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.