code: public Observable<ServiceResponse<Page<CsmUsageQuotaInner>>> listUsagesWithServiceResponseAsync(final String resourceGroupName, final String name, final String filter) {
          return listUsagesSinglePageAsync(resourceGroupName, name, filter)
              .concatMap(new Func1<ServiceResponse<Page<CsmUsageQuotaInner>>, Observable<ServiceResponse<Page<CsmUsageQuotaInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<CsmUsageQuotaInner>>> call(ServiceResponse<Page<CsmUsageQuotaInner>> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      return Observable.just(page).concatWith(listUsagesNextWithServiceResponseAsync(nextPageLink));
                  }
              });
      }
docs: Gets server farm usage information.
  Gets server farm usage information.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of App Service Plan
  @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2').
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;CsmUsageQuotaInner&gt; object