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.
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.