ApplicationGatewayWebApplicationFirewallConfiguration Class

Application gateway web application firewall configuration.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.network._serialization.Model
ApplicationGatewayWebApplicationFirewallConfiguration

Constructor

ApplicationGatewayWebApplicationFirewallConfiguration(*, enabled: bool, firewall_mode: str | _models.ApplicationGatewayFirewallMode, rule_set_type: str, rule_set_version: str, disabled_rule_groups: List[_models.ApplicationGatewayFirewallDisabledRuleGroup] | None = None, request_body_check: bool | None = None, max_request_body_size: int | None = None, max_request_body_size_in_kb: int | None = None, file_upload_limit_in_mb: int | None = None, exclusions: List[_models.ApplicationGatewayFirewallExclusion] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

Whether the web application firewall is enabled or not. Required.

firewall_mode

Web application firewall mode. Required. Known values are: "Detection" and "Prevention".

rule_set_type
str

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

rule_set_version
str

The version of the rule set type. Required.

disabled_rule_groups

The disabled rule groups.

request_body_check

Whether allow WAF to check request Body.

max_request_body_size
int

Maximum request body size for WAF.

max_request_body_size_in_kb
int

Maximum request body size in Kb for WAF.

file_upload_limit_in_mb
int

Maximum file upload size in Mb for WAF.

exclusions

The exclusion list.

Variables

Name Description
enabled

Whether the web application firewall is enabled or not. Required.

firewall_mode

Web application firewall mode. Required. Known values are: "Detection" and "Prevention".

rule_set_type
str

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

rule_set_version
str

The version of the rule set type. Required.

disabled_rule_groups

The disabled rule groups.

request_body_check

Whether allow WAF to check request Body.

max_request_body_size
int

Maximum request body size for WAF.

max_request_body_size_in_kb
int

Maximum request body size in Kb for WAF.

file_upload_limit_in_mb
int

Maximum file upload size in Mb for WAF.

exclusions

The exclusion list.