code: public PagedList<StorageAccountInfoInner> listStorageAccounts(final String resourceGroupName, final String accountName) {
          ServiceResponse<Page<StorageAccountInfoInner>> response = listStorageAccountsSinglePageAsync(resourceGroupName, accountName).toBlocking().single();
          return new PagedList<StorageAccountInfoInner>(response.body()) {
              @Override
              public Page<StorageAccountInfoInner> nextPage(String nextPageLink) {
                  return listStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.
  
  @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.
  @param accountName The name of the Data Lake Analytics account for which to list Azure Storage accounts.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;StorageAccountInfoInner&gt; object if successful.