public Observable<Page<DatabaseAccountInner>> listAsync() {
        return listWithServiceResponseAsync().map(new Func1<ServiceResponse<List<DatabaseAccountInner>>, Page<DatabaseAccountInner>>() {
            @Override
            public Page<DatabaseAccountInner> call(ServiceResponse<List<DatabaseAccountInner>> response) {
                PageImpl<DatabaseAccountInner> page = new PageImpl<>();
                page.setItems(response.body());
                return page;
            }
        });
    }
public Observable < Page < DatabaseAccountInner > > listAsync ( ) { return listWithServiceResponseAsync ( ) . map ( new Func1 < ServiceResponse < List < DatabaseAccountInner > > , Page < DatabaseAccountInner > > ( ) { @ Override public Page < DatabaseAccountInner > call ( ServiceResponse < List < DatabaseAccountInner > > response ) { PageImpl < DatabaseAccountInner > page = new PageImpl < > ( ) ; page . setItems ( response . body ( ) ) ; return page ; } } ) ; }
Lists all the Azure Cosmos DB database accounts available under the subscription.

@return the observable to the List&lt;DatabaseAccountInner&gt; object