你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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