ArmNetworkModelFactory.ApplicationGatewayFirewallRule Method

Definition

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.

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.

description
String

The description of the web application firewall rule.

Returns

A new ApplicationGatewayFirewallRule instance for mocking.

Applies to