code: public Observable<Page<IotHubQuotaMetricInfoInner>> getQuotaMetricsAsync(final String resourceGroupName, final String resourceName) {
          return getQuotaMetricsWithServiceResponseAsync(resourceGroupName, resourceName)
              .map(new Func1<ServiceResponse<Page<IotHubQuotaMetricInfoInner>>, Page<IotHubQuotaMetricInfoInner>>() {
                  @Override
                  public Page<IotHubQuotaMetricInfoInner> call(ServiceResponse<Page<IotHubQuotaMetricInfoInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Get the quota metrics for an IoT hub.
  Get the quota metrics for an IoT hub.
  
  @param resourceGroupName The name of the resource group that contains the IoT hub.
  @param resourceName The name of the IoT hub.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;IotHubQuotaMetricInfoInner&gt; object