Interface WebApplicationFirewallPolicy

All Superinterfaces:
GroupableResource<NetworkManager,WebApplicationFirewallPolicyInner>, HasId, HasInnerModel<WebApplicationFirewallPolicyInner>, HasManager<NetworkManager>, HasName, HasResourceGroup, Indexable, Refreshable<WebApplicationFirewallPolicy>, Resource, Updatable<WebApplicationFirewallPolicy.Update>

Entry point for Web Application Firewall Policy.
  • Method Details

    • 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

      List<String> 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:
      Flux of application gateways associated with this Web Application Firewall Policy