code: public Observable<ServiceResponse<Page<IotHubSkuDescriptionInner>>> getValidSkusSinglePageAsync(final String resourceGroupName, final String resourceName) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (resourceName == null) {
              throw new IllegalArgumentException("Parameter resourceName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          return service.getValidSkus(this.client.subscriptionId(), resourceGroupName, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<IotHubSkuDescriptionInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<IotHubSkuDescriptionInner>>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<PageImpl<IotHubSkuDescriptionInner>> result = getValidSkusDelegate(response);
                          return Observable.just(new ServiceResponse<Page<IotHubSkuDescriptionInner>>(result.body(), result.response()));
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Get the list of valid SKUs for an IoT hub.
  Get the list of valid SKUs for an IoT hub.
  
  ServiceResponse<PageImpl<IotHubSkuDescriptionInner>> * @param resourceGroupName The name of the resource group that contains the IoT hub.
  ServiceResponse<PageImpl<IotHubSkuDescriptionInner>> * @param resourceName The name of the IoT hub.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the PagedList&lt;IotHubSkuDescriptionInner&gt; object wrapped in {@link ServiceResponse} if successful.