ApplicationGatewayWebApplicationFirewallConfiguration Constructor
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.
Initializes a new instance of ApplicationGatewayWebApplicationFirewallConfiguration.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET