WebApplicationFirewallPolicy Interface

Implements

public interface WebApplicationFirewallPolicy
extends GroupableResource<NetworkManager,WebApplicationFirewallPolicyInner>, Updatable<Update>, Refreshable<WebApplicationFirewallPolicy>

Entry point for Web Application Firewall Policy.

Method Summary

Modifier and Type Method and Description
abstract Integer fileUploadSizeLimitInMb()

Max file upload size limit, in MB.

abstract List<String> getAssociatedApplicationGatewayIds()

Gets an immutable list of application gateway resource ids associated with this Web Application Firewall Policy.

abstract List<ApplicationGateway> getAssociatedApplicationGateways()

Get an immutable list of application gateways associated with this Web Application Firewall Policy by calling REST API.

abstract Flux<ApplicationGateway> getAssociatedApplicationGatewaysAsync()

Get a list of application gateways associated with this Web Application Firewall Policy by calling REST API in async manner.

abstract ManagedRulesDefinition getManagedRules()

Gets Web Application Firewall managed rules.

abstract PolicySettings getPolicySettings()

Gets Web Application Firewall Policy settings.

abstract boolean isEnabled()

Checks whether this policy is enabled.

abstract boolean isRequestBodyInspectionEnabled()

Checks whether request body inspection is enabled.

abstract WebApplicationFirewallMode mode()

Gets mode of the Web Application Firewall Policy.

abstract Integer requestBodySizeLimitInKb()

Max request body size limit in KB.

Method Details

fileUploadSizeLimitInMb

public abstract Integer fileUploadSizeLimitInMb()

Max file upload size limit, in MB.

Returns:

file upload limit in MB

getAssociatedApplicationGatewayIds

public abstract List getAssociatedApplicationGatewayIds()

Gets an immutable list of application gateway resource ids associated with this Web Application Firewall Policy.

Returns:

an immutable list of application gateway resource ids associated with this Web Application Firewall Policy

getAssociatedApplicationGateways

public abstract List getAssociatedApplicationGateways()

Get an immutable list of application gateways associated with this Web Application Firewall Policy by calling REST API.

Returns:

an immutable list of application gateways associated with this Web Application Firewall Policy

getAssociatedApplicationGatewaysAsync

public abstract Flux getAssociatedApplicationGatewaysAsync()

Get a list of application gateways associated with this Web Application Firewall Policy by calling REST API in async manner.

Returns:

Flux of application gateways associated with this Web Application Firewall Policy

getManagedRules

public abstract ManagedRulesDefinition getManagedRules()

Gets Web Application Firewall managed rules.

Returns:

Web Application Firewall managed rules

getPolicySettings

public abstract PolicySettings getPolicySettings()

Gets Web Application Firewall Policy settings.

Returns:

Web Application Firewall Policy settings

isEnabled

public abstract boolean isEnabled()

Checks whether this policy is enabled.

Returns:

whether this policy is enabled

isRequestBodyInspectionEnabled

public abstract boolean isRequestBodyInspectionEnabled()

Checks whether request body inspection is enabled.

Returns:

whether request body inspection is enabled

mode

public abstract WebApplicationFirewallMode mode()

Gets mode of the Web Application Firewall Policy.

Returns:

mode of the Web Application Firewall Policy

requestBodySizeLimitInKb

public abstract Integer requestBodySizeLimitInKb()

Max request body size limit in KB.

Returns:

request body size limit in KB

Applies to