public Observable<ServiceResponse<Page<String>>> listWebAppsByHybridConnectionWithServiceResponseAsync(final String resourceGroupName, final String name, final String namespaceName, final String relayName) {
        return listWebAppsByHybridConnectionSinglePageAsync(resourceGroupName, name, namespaceName, relayName)
            .concatMap(new Func1<ServiceResponse<Page<String>>, Observable<ServiceResponse<Page<String>>>>() {
                @Override
                public Observable<ServiceResponse<Page<String>>> call(ServiceResponse<Page<String>> page) {
                    String nextPageLink = page.body().nextPageLink();
                    if (nextPageLink == null) {
                        return Observable.just(page);
                    }
                    return Observable.just(page).concatWith(listWebAppsByHybridConnectionNextWithServiceResponseAsync(nextPageLink));
                }
            });
    }
public Observable < ServiceResponse < Page < String > > > listWebAppsByHybridConnectionWithServiceResponseAsync ( final String resourceGroupName , final String name , final String namespaceName , final String relayName ) { return listWebAppsByHybridConnectionSinglePageAsync ( resourceGroupName , name , namespaceName , relayName ) . concatMap ( new Func1 < ServiceResponse < Page < String > > , Observable < ServiceResponse < Page < String > > > > ( ) { @ Override public Observable < ServiceResponse < Page < String > > > call ( ServiceResponse < Page < String > > page ) { String nextPageLink = page . body ( ) . nextPageLink ( ) ; if ( nextPageLink == null ) { return Observable . just ( page ) ; } return Observable . just ( page ) . concatWith ( listWebAppsByHybridConnectionNextWithServiceResponseAsync ( nextPageLink ) ) ; } } ) ; }
Get all apps that use a Hybrid Connection in an App Service Plan.
Get all apps that use a Hybrid Connection in an App Service Plan.

@param resourceGroupName Name of the resource group to which the resource belongs.
@param name Name of the App Service plan.
@param namespaceName Name of the Hybrid Connection namespace.
@param relayName Name of the Hybrid Connection relay.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;String&gt; object