public Observable<ServiceResponse<Page<LongTermRetentionBackupInner>>> listByDatabaseWithServiceResponseAsync(final String locationName, final String longTermRetentionServerName, final String longTermRetentionDatabaseName) {
        return listByDatabaseSinglePageAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName)
            .concatMap(new Func1<ServiceResponse<Page<LongTermRetentionBackupInner>>, Observable<ServiceResponse<Page<LongTermRetentionBackupInner>>>>() {
                @Override
                public Observable<ServiceResponse<Page<LongTermRetentionBackupInner>>> call(ServiceResponse<Page<LongTermRetentionBackupInner>> page) {
                    String nextPageLink = page.body().nextPageLink();
                    if (nextPageLink == null) {
                        return Observable.just(page);
                    }
                    return Observable.just(page).concatWith(listByDatabaseNextWithServiceResponseAsync(nextPageLink));
                }
            });
    }
public Observable < ServiceResponse < Page < LongTermRetentionBackupInner > > > listByDatabaseWithServiceResponseAsync ( final String locationName , final String longTermRetentionServerName , final String longTermRetentionDatabaseName ) { return listByDatabaseSinglePageAsync ( locationName , longTermRetentionServerName , longTermRetentionDatabaseName ) . concatMap ( new Func1 < ServiceResponse < Page < LongTermRetentionBackupInner > > , Observable < ServiceResponse < Page < LongTermRetentionBackupInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < LongTermRetentionBackupInner > > > call ( ServiceResponse < Page < LongTermRetentionBackupInner > > page ) { String nextPageLink = page . body ( ) . nextPageLink ( ) ; if ( nextPageLink == null ) { return Observable . just ( page ) ; } return Observable . just ( page ) . concatWith ( listByDatabaseNextWithServiceResponseAsync ( nextPageLink ) ) ; } } ) ; }
Lists all long term retention backups for a database.

@param locationName The location of the database
@param longTermRetentionServerName the String value
@param longTermRetentionDatabaseName the String value
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;LongTermRetentionBackupInner&gt; object