ApplicationGatewayWebApplicationFirewallConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. network. ApplicationGatewayWebApplicationFirewallConfiguration
- com.
public class ApplicationGatewayWebApplicationFirewallConfiguration
Application gateway web application firewall configuration.
Constructor Summary
Constructor | Description | |
---|---|---|
ApplicationGatewayWebApplicationFirewallConfiguration() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayWebApplicationFirewallConfiguration
public ApplicationGatewayWebApplicationFirewallConfiguration()
Method Details
disabledRuleGroups
public List
Get the disabled rule groups.
Returns:
enabled
public boolean enabled()
Get whether the web application firewall is enabled or not.
Returns:
exclusions
public List
Get the exclusion list.
Returns:
fileUploadLimitInMb
public Integer fileUploadLimitInMb()
Get maximum file upload size in Mb for WAF.
Returns:
firewallMode
public ApplicationGatewayFirewallMode firewallMode()
Get web application firewall mode. Possible values include: 'Detection', 'Prevention'.
Returns:
maxRequestBodySize
public Integer maxRequestBodySize()
Get maximum request body size for WAF.
Returns:
maxRequestBodySizeInKb
public Integer maxRequestBodySizeInKb()
Get maximum request body size in Kb for WAF.
Returns:
requestBodyCheck
public Boolean requestBodyCheck()
Get whether allow WAF to check request Body.
Returns:
ruleSetType
public String ruleSetType()
Get the type of the web application firewall rule set. Possible values are: 'OWASP'.
Returns:
ruleSetVersion
public String ruleSetVersion()
Get the version of the rule set type.
Returns:
withDisabledRuleGroups
public ApplicationGatewayWebApplicationFirewallConfiguration withDisabledRuleGroups(List
Set the disabled rule groups.
Parameters:
Returns:
withEnabled
public ApplicationGatewayWebApplicationFirewallConfiguration withEnabled(boolean enabled)
Set whether the web application firewall is enabled or not.
Parameters:
Returns:
withExclusions
public ApplicationGatewayWebApplicationFirewallConfiguration withExclusions(List
Set the exclusion list.
Parameters:
Returns:
withFileUploadLimitInMb
public ApplicationGatewayWebApplicationFirewallConfiguration withFileUploadLimitInMb(Integer fileUploadLimitInMb)
Set maximum file upload size in Mb for WAF.
Parameters:
Returns:
withFirewallMode
public ApplicationGatewayWebApplicationFirewallConfiguration withFirewallMode(ApplicationGatewayFirewallMode firewallMode)
Set web application firewall mode. Possible values include: 'Detection', 'Prevention'.
Parameters:
Returns:
withMaxRequestBodySize
public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySize(Integer maxRequestBodySize)
Set maximum request body size for WAF.
Parameters:
Returns:
withMaxRequestBodySizeInKb
public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)
Set maximum request body size in Kb for WAF.
Parameters:
Returns:
withRequestBodyCheck
public ApplicationGatewayWebApplicationFirewallConfiguration withRequestBodyCheck(Boolean requestBodyCheck)
Set whether allow WAF to check request Body.
Parameters:
Returns:
withRuleSetType
public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetType(String ruleSetType)
Set the type of the web application firewall rule set. Possible values are: 'OWASP'.
Parameters:
Returns:
withRuleSetVersion
public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetVersion(String ruleSetVersion)
Set the version of the rule set type.
Parameters:
Returns:
Applies to
Azure SDK for Java