Interface ApplicationGateway

All Superinterfaces:
GroupableResource<NetworkManager,ApplicationGatewayInner>, HasId, HasInnerModel<ApplicationGatewayInner>, HasManager<NetworkManager>, HasName, HasPrivateIpAddress, HasResourceGroup, HasSubnet, Indexable, Refreshable<ApplicationGateway>, Resource, Updatable<ApplicationGateway.Update>, UpdatableWithTags<ApplicationGateway>

Entry point for application gateway management API in Azure.
  • Method Details

    • start

      void start()
      Starts the application gateway.
    • checkBackendHealth

      Checks the backend health.
      Returns:
      backend healths indexed by backend name
    • checkBackendHealthAsync

      Mono<Map<String,ApplicationGatewayBackendHealth>> checkBackendHealthAsync()
      Checks the backend health asynchronously.
      Returns:
      a representation of the future computation of this call
    • stop

      void stop()
      Stops the application gateway.
    • startAsync

      Mono<Void> startAsync()
      Starts the application gateway asynchronously.
      Returns:
      a representation of the deferred computation of this call
    • stopAsync

      Mono<Void> stopAsync()
      Stops the application gateway asynchronously.
      Returns:
      a representation of the deferred computation of this call
    • disabledSslProtocols

      Deprecated.
      Application Gateway V1 is officially deprecated on April 28, 2023. This attribute has no effect for V2 gateways, instead, use sslPolicy().
      Get the disabled SSL protocols.
      Returns:
      disabled SSL protocols
    • isPrivate

      boolean isPrivate()
      Checks whether the application gateway has at least one internally load balanced frontend accessible within the virtual network.
      Returns:
      true if the application gateway has at least one internally load balanced frontend accessible within the virtual network
    • isPublic

      boolean isPublic()
      Checks whether the application gateway has at least one Internet-facing frontend.
      Returns:
      true if the application gateway has at least one Internet-facing frontend
    • defaultPublicFrontend

      ApplicationGatewayFrontend defaultPublicFrontend()
      Gets the frontend IP configuration associated with a public IP address.
      Returns:
      the frontend IP configuration associated with a public IP address, if any, that frontend listeners and request routing rules can reference implicitly
    • defaultPrivateFrontend

      ApplicationGatewayFrontend defaultPrivateFrontend()
      Gets the frontend IP configuration associated with a private IP address.
      Returns:
      the frontend IP configuration associated with a private IP address, if any, that frontend listeners and request routing rules can reference implicitly
    • sku

      Gets the SKU of this application gateway.
      Returns:
      the SKU of this application gateway
    • instanceCount

      int instanceCount()
      Gets number of instances.
      Returns:
      number of instances
    • size

      Gets the size of the application gateway.
      Returns:
      the size of the application gateway
    • tier

      Gets the tier of the application gateway.
      Returns:
      the tier of the application gateway
    • autoscaleConfiguration

      Gets the autoscaleConfiguration value.
      Returns:
      the autoscaleConfiguration value.
    • webApplicationFirewallConfiguration

      ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()
      Gets the webApplicationFirewallConfiguration value.
      Returns:
      the webApplicationFirewallConfiguration value.
    • operationalState

      Gets the operational state of the application gateway.
      Returns:
      the operational state of the application gateway
    • ipConfigurations

      Gets IP configurations of this application gateway.
      Returns:
      IP configurations of this application gateway, indexed by name
    • backends

      Gets backend address pools of this application gateway.
      Returns:
      backend address pools of this application gateway, indexed by name
    • probes

      Gets probes of this application gateway.
      Returns:
      probes of this application gateway, indexed by name
    • defaultIPConfiguration

      ApplicationGatewayIpConfiguration defaultIPConfiguration()
      Gets the existing IP configurations.
      Returns:
      the existing IP configurations if only one exists, else null
    • frontends

      Gets frontend IP configurations.
      Returns:
      frontend IP configurations, indexed by name
    • publicFrontends

      Gets frontend IP configurations with a public IP address.
      Returns:
      frontend IP configurations with a public IP address, indexed by name
    • privateFrontends

      Gets frontend IP configurations with a private IP address within a subnet.
      Returns:
      frontend IP configurations with a private IP address within a subnet, indexed by name
    • frontendPorts

      Map<String,Integer> frontendPorts()
      Gets named frontend ports of this application gateway.
      Returns:
      named frontend ports of this application gateway, indexed by name
    • backendHttpConfigurations

      Gets backend HTTP configurations of this application gateway.
      Returns:
      backend HTTP configurations of this application gateway, indexed by name
    • sslCertificates

      Gets SSL certificates.
      Returns:
      SSL certificates, indexed by name
    • listeners

      Gets frontend listeners.
      Returns:
      frontend listeners, indexed by name
    • redirectConfigurations

      Gets redirect configurations.
      Returns:
      redirect configurations, indexed by name
    • urlPathMaps

      Gets URL path maps.
      Returns:
      URL path maps, indexed by name (case sensitive)
    • requestRoutingRules

      Gets request routing rules.
      Returns:
      request routing rules, indexed by name
    • authenticationCertificates

      Gets authentication certificates.
      Returns:
      authentication certificates
    • isHttp2Enabled

      boolean isHttp2Enabled()
      Checks whether HTTP2 is enabled for the application gateway.
      Returns:
      whether HTTP2 enabled for the application gateway
    • availabilityZones

      Set<AvailabilityZoneId> availabilityZones()
      The availability zones assigned to the application gateway.

      Note, this functionality is not enabled for most subscriptions and is subject to significant redesign and/or removal in the future.

      Returns:
      the availability zones assigned to the application gateway.
    • frontendPortNameFromNumber

      String frontendPortNameFromNumber(int portNumber)
      Returns the name of the existing port, if any, that is associated with the specified port number.
      Parameters:
      portNumber - a port number
      Returns:
      the existing port name for that port number, or null if none found
    • listenerByPortNumber

      ApplicationGatewayListener listenerByPortNumber(int portNumber)
      Finds a front end listener associated with the specified front end port number, if any.
      Parameters:
      portNumber - a used port number
      Returns:
      a front end listener, or null if none found
    • getWebApplicationFirewallPolicyId

      String getWebApplicationFirewallPolicyId()
      Gets resource ID of the Web Application Firewall Policy (if any) associated with the application gateway.
      Returns:
      resource ID of the Web Application Firewall Policy (if any) associated with the application gateway
    • getWebApplicationFirewallPolicy

      WebApplicationFirewallPolicy getWebApplicationFirewallPolicy()
      Get the Web Application Firewall Policy (if any) associated with the application gateway by calling REST API.
      Returns:
      Web Application Firewall Policy (if any) associated with the application gateway
    • getWebApplicationFirewallPolicyAsync

      Mono<WebApplicationFirewallPolicy> getWebApplicationFirewallPolicyAsync()
      Get the Web Application Firewall Policy (if any) associated with the application gateway by calling REST API in async manner.
      Returns:
      Mono of Web Application Firewall Policy (if any) associated with the application gateway
    • sslPolicy

      Get the SSL policy for the application gateway.
      Returns:
      SSL policy of the application gateway