Share via


ApplicationGatewayWebApplicationFirewallConfiguration Constructor

Definition

public ApplicationGatewayWebApplicationFirewallConfiguration (bool enabled, Azure.ResourceManager.Network.Models.ApplicationGatewayFirewallMode firewallMode, string ruleSetType, string ruleSetVersion);
new Azure.ResourceManager.Network.Models.ApplicationGatewayWebApplicationFirewallConfiguration : bool * Azure.ResourceManager.Network.Models.ApplicationGatewayFirewallMode * string * string -> Azure.ResourceManager.Network.Models.ApplicationGatewayWebApplicationFirewallConfiguration
Public Sub New (enabled As Boolean, firewallMode As ApplicationGatewayFirewallMode, ruleSetType As String, ruleSetVersion As String)

Parameters

enabled
Boolean

Whether the web application firewall is enabled or not.

firewallMode
ApplicationGatewayFirewallMode

Web application firewall mode.

ruleSetType
String

The type of the web application firewall rule set. Possible values are: 'OWASP'.

ruleSetVersion
String

The version of the rule set type.

Exceptions

ruleSetType or ruleSetVersion is null.

Applies to