Interface ApplicationGateway

  • All Superinterfaces:
    com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,​com.microsoft.azure.management.network.implementation.ApplicationGatewayInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasId, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.ApplicationGatewayInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasName, HasPrivateIPAddress, com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup, com.microsoft.azure.management.resources.fluentcore.arm.models.HasSubnet, com.microsoft.azure.management.resources.fluentcore.model.Indexable, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<ApplicationGateway>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource, com.microsoft.azure.management.resources.fluentcore.model.Updatable<ApplicationGateway.Update>, UpdatableWithTags<ApplicationGateway>

    public interface ApplicationGateway
    extends com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,​com.microsoft.azure.management.network.implementation.ApplicationGatewayInner>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<ApplicationGateway>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<ApplicationGateway.Update>, UpdatableWithTags<ApplicationGateway>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasSubnet, HasPrivateIPAddress
    Entry point for application gateway management API in Azure.
    • Method Detail

      • start

        void start()
        Starts the application gateway.
      • checkBackendHealthAsync

        @Beta(V1_4_0)
        rx.Observable<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

        rx.Completable startAsync()
        Starts the application gateway asynchronously.
        Returns:
        a representation of the deferred computation of this call
      • stopAsync

        rx.Completable 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

        @Beta(V1_14_0)
        boolean isHttp2Enabled()
        Returns:
        whether HTTP2 enabled for the application gateway
      • availabilityZones

        @Beta(V1_4_0)
        Set<com.microsoft.azure.management.resources.fluentcore.arm.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