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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for