docs: public PagedList<ImageInner> listByResourceGroup(final String resourceGroupName) {
          ServiceResponse<Page<ImageInner>> response = listByResourceGroupSinglePageAsync(resourceGroupName).toBlocking().single();
          return new PagedList<ImageInner>(response.body()) {
              @Override
              public Page<ImageInner> nextPage(String nextPageLink) {
                  return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }