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>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionMax file upload size limit, in MB.Gets an immutable list of application gateway resource ids associated with this Web Application Firewall Policy.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.Gets Web Application Firewall managed rules.Gets Web Application Firewall Policy settings.booleanChecks whether this policy is enabled.booleanChecks whether request body inspection is enabled.mode()Gets mode of the Web Application Firewall Policy.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()Gets mode of the Web Application Firewall Policy.- Returns:
- mode of the Web Application Firewall Policy
-
isRequestBodyInspectionEnabled
boolean isRequestBodyInspectionEnabled()Checks whether request body inspection is enabled.- 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()Gets Web Application Firewall Policy settings.- Returns:
- Web Application Firewall Policy settings
-
getManagedRules
ManagedRulesDefinition getManagedRules()Gets Web Application Firewall managed rules.- Returns:
- Web Application Firewall managed rules
-
isEnabled
boolean isEnabled()Checks whether this policy is enabled.- Returns:
- whether this policy is enabled
-
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
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
-