public final class ApplicationGatewayWebApplicationFirewallConfiguration extends Object
| Constructor and Description |
|---|
ApplicationGatewayWebApplicationFirewallConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
List<ApplicationGatewayFirewallDisabledRuleGroup> |
disabledRuleGroups()
Get the disabledRuleGroups property: The disabled rule groups.
|
boolean |
enabled()
Get the enabled property: Whether the web application firewall is enabled or not.
|
List<ApplicationGatewayFirewallExclusion> |
exclusions()
Get the exclusions property: The exclusion list.
|
Integer |
fileUploadLimitInMb()
Get the fileUploadLimitInMb property: Maximum file upload size in Mb for WAF.
|
ApplicationGatewayFirewallMode |
firewallMode()
Get the firewallMode property: Web application firewall mode.
|
Integer |
maxRequestBodySize()
Get the maxRequestBodySize property: Maximum request body size for WAF.
|
Integer |
maxRequestBodySizeInKb()
Get the maxRequestBodySizeInKb property: Maximum request body size in Kb for WAF.
|
Boolean |
requestBodyCheck()
Get the requestBodyCheck property: Whether allow WAF to check request Body.
|
String |
ruleSetType()
Get the ruleSetType property: The type of the web application firewall rule set.
|
String |
ruleSetVersion()
Get the ruleSetVersion property: The version of the rule set type.
|
void |
validate()
Validates the instance.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withDisabledRuleGroups(List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups)
Set the disabledRuleGroups property: The disabled rule groups.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withEnabled(boolean enabled)
Set the enabled property: Whether the web application firewall is enabled or not.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withExclusions(List<ApplicationGatewayFirewallExclusion> exclusions)
Set the exclusions property: The exclusion list.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withFileUploadLimitInMb(Integer fileUploadLimitInMb)
Set the fileUploadLimitInMb property: Maximum file upload size in Mb for WAF.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withFirewallMode(ApplicationGatewayFirewallMode firewallMode)
Set the firewallMode property: Web application firewall mode.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withMaxRequestBodySize(Integer maxRequestBodySize)
Set the maxRequestBodySize property: Maximum request body size for WAF.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)
Set the maxRequestBodySizeInKb property: Maximum request body size in Kb for WAF.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withRequestBodyCheck(Boolean requestBodyCheck)
Set the requestBodyCheck property: Whether allow WAF to check request Body.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withRuleSetType(String ruleSetType)
Set the ruleSetType property: The type of the web application firewall rule set.
|
ApplicationGatewayWebApplicationFirewallConfiguration |
withRuleSetVersion(String ruleSetVersion)
Set the ruleSetVersion property: The version of the rule set type.
|
public ApplicationGatewayWebApplicationFirewallConfiguration()
public boolean enabled()
public ApplicationGatewayWebApplicationFirewallConfiguration withEnabled(boolean enabled)
enabled - the enabled value to set.public ApplicationGatewayFirewallMode firewallMode()
public ApplicationGatewayWebApplicationFirewallConfiguration withFirewallMode(ApplicationGatewayFirewallMode firewallMode)
firewallMode - the firewallMode value to set.public String ruleSetType()
public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetType(String ruleSetType)
ruleSetType - the ruleSetType value to set.public String ruleSetVersion()
public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetVersion(String ruleSetVersion)
ruleSetVersion - the ruleSetVersion value to set.public List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups()
public ApplicationGatewayWebApplicationFirewallConfiguration withDisabledRuleGroups(List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups)
disabledRuleGroups - the disabledRuleGroups value to set.public Boolean requestBodyCheck()
public ApplicationGatewayWebApplicationFirewallConfiguration withRequestBodyCheck(Boolean requestBodyCheck)
requestBodyCheck - the requestBodyCheck value to set.public Integer maxRequestBodySize()
public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySize(Integer maxRequestBodySize)
maxRequestBodySize - the maxRequestBodySize value to set.public Integer maxRequestBodySizeInKb()
public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySizeInKb(Integer maxRequestBodySizeInKb)
maxRequestBodySizeInKb - the maxRequestBodySizeInKb value to set.public Integer fileUploadLimitInMb()
public ApplicationGatewayWebApplicationFirewallConfiguration withFileUploadLimitInMb(Integer fileUploadLimitInMb)
fileUploadLimitInMb - the fileUploadLimitInMb value to set.public List<ApplicationGatewayFirewallExclusion> exclusions()
public ApplicationGatewayWebApplicationFirewallConfiguration withExclusions(List<ApplicationGatewayFirewallExclusion> exclusions)
exclusions - the exclusions value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.