ApplicationGatewayWebApplicationFirewallConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ApplicationGatewayWebApplicationFirewallConfiguration

public class ApplicationGatewayWebApplicationFirewallConfiguration

Application gateway web application firewall configuration.

Constructor Summary

Constructor Description
ApplicationGatewayWebApplicationFirewallConfiguration()

Method Summary

Modifier and Type Method and Description
java.util.List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups()

Get the disabled rule groups.

boolean enabled()

Get whether the web application firewall is enabled or not.

java.util.List<ApplicationGatewayFirewallExclusion> exclusions()

Get the exclusion list.

java.lang.Integer fileUploadLimitInMb()

Get maximum file upload size in Mb for WAF.

ApplicationGatewayFirewallMode firewallMode()

Get web application firewall mode.

java.lang.Integer maxRequestBodySize()

Get maximum request body size for WAF.

java.lang.Integer maxRequestBodySizeInKb()

Get maximum request body size in Kb for WAF.

java.lang.Boolean requestBodyCheck()

Get whether allow WAF to check request Body.

java.lang.String ruleSetType()

Get the type of the web application firewall rule set.

java.lang.String ruleSetVersion()

Get the version of the rule set type.

ApplicationGatewayWebApplicationFirewallConfiguration withDisabledRuleGroups(List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups)

Set the disabled rule groups.

ApplicationGatewayWebApplicationFirewallConfiguration withEnabled(boolean enabled)

Set whether the web application firewall is enabled or not.

ApplicationGatewayWebApplicationFirewallConfiguration withExclusions(List<ApplicationGatewayFirewallExclusion> exclusions)

Set the exclusion list.

ApplicationGatewayWebApplicationFirewallConfiguration withFileUploadLimitInMb(Integer fileUploadLimitInMb)

Set maximum file upload size in Mb for WAF.

ApplicationGatewayWebApplicationFirewallConfiguration withFirewallMode(ApplicationGatewayFirewallMode firewallMode)

Set web application firewall mode.

ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySize(Integer maxRequestBodySize)

Set maximum request body size for WAF.

ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)

Set maximum request body size in Kb for WAF.

ApplicationGatewayWebApplicationFirewallConfiguration withRequestBodyCheck(Boolean requestBodyCheck)

Set whether allow WAF to check request Body.

ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetType(String ruleSetType)

Set the type of the web application firewall rule set.

ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetVersion(String ruleSetVersion)

Set the version of the rule set type.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApplicationGatewayWebApplicationFirewallConfiguration

public ApplicationGatewayWebApplicationFirewallConfiguration()

Method Details

disabledRuleGroups

public List disabledRuleGroups()

Get the disabled rule groups.

Returns:

the disabledRuleGroups value

enabled

public boolean enabled()

Get whether the web application firewall is enabled or not.

Returns:

the enabled value

exclusions

public List exclusions()

Get the exclusion list.

Returns:

the exclusions value

fileUploadLimitInMb

public Integer fileUploadLimitInMb()

Get maximum file upload size in Mb for WAF.

Returns:

the fileUploadLimitInMb value

firewallMode

public ApplicationGatewayFirewallMode firewallMode()

Get web application firewall mode. Possible values include: 'Detection', 'Prevention'.

Returns:

the firewallMode value

maxRequestBodySize

public Integer maxRequestBodySize()

Get maximum request body size for WAF.

Returns:

the maxRequestBodySize value

maxRequestBodySizeInKb

public Integer maxRequestBodySizeInKb()

Get maximum request body size in Kb for WAF.

Returns:

the maxRequestBodySizeInKb value

requestBodyCheck

public Boolean requestBodyCheck()

Get whether allow WAF to check request Body.

Returns:

the requestBodyCheck value

ruleSetType

public String ruleSetType()

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

Returns:

the ruleSetType value

ruleSetVersion

public String ruleSetVersion()

Get the version of the rule set type.

Returns:

the ruleSetVersion value

withDisabledRuleGroups

public ApplicationGatewayWebApplicationFirewallConfiguration withDisabledRuleGroups(List disabledRuleGroups)

Set the disabled rule groups.

Parameters:

disabledRuleGroups - the disabledRuleGroups value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withEnabled

public ApplicationGatewayWebApplicationFirewallConfiguration withEnabled(boolean enabled)

Set whether the web application firewall is enabled or not.

Parameters:

enabled - the enabled value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withExclusions

public ApplicationGatewayWebApplicationFirewallConfiguration withExclusions(List exclusions)

Set the exclusion list.

Parameters:

exclusions - the exclusions value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withFileUploadLimitInMb

public ApplicationGatewayWebApplicationFirewallConfiguration withFileUploadLimitInMb(Integer fileUploadLimitInMb)

Set maximum file upload size in Mb for WAF.

Parameters:

fileUploadLimitInMb - the fileUploadLimitInMb value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withFirewallMode

public ApplicationGatewayWebApplicationFirewallConfiguration withFirewallMode(ApplicationGatewayFirewallMode firewallMode)

Set web application firewall mode. Possible values include: 'Detection', 'Prevention'.

Parameters:

firewallMode - the firewallMode value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withMaxRequestBodySize

public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySize(Integer maxRequestBodySize)

Set maximum request body size for WAF.

Parameters:

maxRequestBodySize - the maxRequestBodySize value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withMaxRequestBodySizeInKb

public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)

Set maximum request body size in Kb for WAF.

Parameters:

maxRequestBodySizeInKb - the maxRequestBodySizeInKb value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withRequestBodyCheck

public ApplicationGatewayWebApplicationFirewallConfiguration withRequestBodyCheck(Boolean requestBodyCheck)

Set whether allow WAF to check request Body.

Parameters:

requestBodyCheck - the requestBodyCheck value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withRuleSetType

public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetType(String ruleSetType)

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

Parameters:

ruleSetType - the ruleSetType value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withRuleSetVersion

public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetVersion(String ruleSetVersion)

Set the version of the rule set type.

Parameters:

ruleSetVersion - the ruleSetVersion value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

Applies to