public Observable<Page<VaultInner>> listByResourceGroupAsync(final String resourceGroupName, final Integer top) {
        return listByResourceGroupWithServiceResponseAsync(resourceGroupName, top)
            .map(new Func1<ServiceResponse<Page<VaultInner>>, Page<VaultInner>>() {
                @Override
                public Page<VaultInner> call(ServiceResponse<Page<VaultInner>> response) {
                    return response.body();
                }
            });
    }
public Observable < Page < VaultInner > > listByResourceGroupAsync ( final String resourceGroupName , final Integer top ) { return listByResourceGroupWithServiceResponseAsync ( resourceGroupName , top ) . map ( new Func1 < ServiceResponse < Page < VaultInner > > , Page < VaultInner > > ( ) { @ Override public Page < VaultInner > call ( ServiceResponse < Page < VaultInner > > response ) { return response . body ( ) ; } } ) ; }
The List operation gets information about the vaults associated with the subscription and within the specified resource group.

@param resourceGroupName The name of the Resource Group to which the vault belongs.
@param top Maximum number of results to return.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the PagedList&lt;VaultInner&gt; object