Interface ApplicationGatewayRequestRoutingRule.DefinitionStages.WithListener<ParentT>

    • Method Detail

      • fromListener

        ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendHttpConfigOrRedirect<ParentT> fromListener​(String name)
        Associates the request routing rule with a frontend listener.

        If the listener with the specified name does not yet exist, it must be defined separately in the optional stages of the application gateway definition. This only adds a reference to the listener by its name.

        Also, note that a given listener can be used by no more than one request routing rule at a time.

        Parameters:
        name - the name of a listener to reference
        Returns:
        the next stage of the definition