ApplicationGatewayWebApplicationFirewallConfiguration Constructors
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.
Overloads
ApplicationGatewayWebApplicationFirewallConfiguration() |
Initializes a new instance of the ApplicationGatewayWebApplicationFirewallConfiguration class. |
ApplicationGatewayWebApplicationFirewallConfiguration(Boolean, ApplicationGatewayFirewallMode, String, String, IList<ApplicationGatewayFirewallDisabledRuleGroup>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<ApplicationGatewayFirewallExclusion>) |
Initializes a new instance of the ApplicationGatewayWebApplicationFirewallConfiguration class. |
ApplicationGatewayWebApplicationFirewallConfiguration()
Initializes a new instance of the ApplicationGatewayWebApplicationFirewallConfiguration class.
public ApplicationGatewayWebApplicationFirewallConfiguration ();
Public Sub New ()
Applies to
ApplicationGatewayWebApplicationFirewallConfiguration(Boolean, ApplicationGatewayFirewallMode, String, String, IList<ApplicationGatewayFirewallDisabledRuleGroup>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<ApplicationGatewayFirewallExclusion>)
Initializes a new instance of the ApplicationGatewayWebApplicationFirewallConfiguration class.
public ApplicationGatewayWebApplicationFirewallConfiguration (bool enabled, Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallMode firewallMode, string ruleSetType, string ruleSetVersion, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups = default, bool? requestBodyCheck = default, int? maxRequestBodySize = default, int? maxRequestBodySizeInKb = default, int? fileUploadLimitInMb = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallExclusion> exclusions = default);
new Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayWebApplicationFirewallConfiguration : bool * Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallMode * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallDisabledRuleGroup> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallExclusion> -> Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayWebApplicationFirewallConfiguration
Public Sub New (enabled As Boolean, firewallMode As ApplicationGatewayFirewallMode, ruleSetType As String, ruleSetVersion As String, Optional disabledRuleGroups As IList(Of ApplicationGatewayFirewallDisabledRuleGroup) = Nothing, Optional requestBodyCheck As Nullable(Of Boolean) = Nothing, Optional maxRequestBodySize As Nullable(Of Integer) = Nothing, Optional maxRequestBodySizeInKb As Nullable(Of Integer) = Nothing, Optional fileUploadLimitInMb As Nullable(Of Integer) = Nothing, Optional exclusions As IList(Of ApplicationGatewayFirewallExclusion) = Nothing)
Parameters
- enabled
- Boolean
Whether the web application firewall is enabled or not.
- firewallMode
- ApplicationGatewayFirewallMode
Web application firewall mode. Possible values include: 'Detection', 'Prevention'
- ruleSetType
- String
The type of the web application firewall rule set. Possible values are: 'OWASP'.
- ruleSetVersion
- String
The version of the rule set type.
- disabledRuleGroups
- IList<ApplicationGatewayFirewallDisabledRuleGroup>
The disabled rule groups.
- exclusions
- IList<ApplicationGatewayFirewallExclusion>
The exclusion list.