Interface WebApplicationFirewallPolicy
- All Superinterfaces:
GroupableResource<NetworkManager,,WebApplicationFirewallPolicyInner> HasId,HasInnerModel<WebApplicationFirewallPolicyInner>,HasManager<NetworkManager>,HasName,HasResourceGroup,Indexable,Refreshable<WebApplicationFirewallPolicy>,Resource,Updatable<WebApplicationFirewallPolicy.Update>
public interface WebApplicationFirewallPolicy
extends GroupableResource<NetworkManager,WebApplicationFirewallPolicyInner>, Updatable<WebApplicationFirewallPolicy.Update>, Refreshable<WebApplicationFirewallPolicy>
Entry point for Web Application Firewall Policy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the Web Application Firewall Policy definition.static interfaceGrouping of Web Application Gateway stages.static interfaceThe template for a Web Application Firewall Policy update operation, containing all the settings that can be modified.static interfaceGrouping of Web Application Firewall Policy update stages.Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T extends Object>, Resource.DefinitionWithTags<T extends Object>, Resource.UpdateWithTags<T extends Object> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionMax file upload size limit, in MB.Get an immutable list of application gateways associated with this Web Application Firewall Policy by calling REST API.Get a list of application gateways associated with this Web Application Firewall Policy by calling REST API in async manner.booleanbooleanmode()Max request body size limit in KB.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Method Details
-
mode
WebApplicationFirewallMode mode()- Returns:
- mode of the Web Application Firewall Policy
-
isRequestBodyInspectionEnabled
boolean isRequestBodyInspectionEnabled()- Returns:
- whether request body inspection is enabled
-
requestBodySizeLimitInKb
Integer requestBodySizeLimitInKb()Max request body size limit in KB.- Returns:
- request body size limit in KB
-
fileUploadSizeLimitInMb
Integer fileUploadSizeLimitInMb()Max file upload size limit, in MB.- Returns:
- file upload limit in MB
-
getPolicySettings
PolicySettings getPolicySettings()- Returns:
- Web Application Firewall Policy settings
-
getManagedRules
ManagedRulesDefinition getManagedRules()- Returns:
- Web Application Firewall managed rules
-
isEnabled
boolean isEnabled()- Returns:
- whether this policy is enabled
-
getAssociatedApplicationGatewayIds
- Returns:
- an immutable list of application gateway resource ids associated with this Web Application Firewall Policy
-
getAssociatedApplicationGateways
List<ApplicationGateway> 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
Flux<ApplicationGateway> getAssociatedApplicationGatewaysAsync()Get a list of application gateways associated with this Web Application Firewall Policy by calling REST API in async manner.- Returns:
Fluxof application gateways associated with this Web Application Firewall Policy
-