Interface ApplicationGateway

    • Method Detail

      • start

        void start()
        Starts the application gateway.
      • 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
      • isPrivate

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

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

        ApplicationGatewayFrontend defaultPublicFrontend()
        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()
        Returns:
        the frontend IP configuration associated with a private IP address, if any, that frontend listeners and request routing rules can reference implicitly
      • instanceCount

        int instanceCount()
        Returns:
        number of instances
      • privateFrontends

        Map<String,​ApplicationGatewayFrontend> privateFrontends()
        Returns:
        frontend IP configurations with a private IP address within a subnet, indexed by name
      • frontendPorts

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

        boolean isHttp2Enabled()
        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