code: public Observable<Page<EndpointHealthDataInner>> getEndpointHealthAsync(final String resourceGroupName, final String iotHubName) {
          return getEndpointHealthWithServiceResponseAsync(resourceGroupName, iotHubName)
              .map(new Func1<ServiceResponse<Page<EndpointHealthDataInner>>, Page<EndpointHealthDataInner>>() {
                  @Override
                  public Page<EndpointHealthDataInner> call(ServiceResponse<Page<EndpointHealthDataInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Get the health for routing endpoints.
  Get the health for routing endpoints.
  
  @param resourceGroupName the String value
  @param iotHubName the String value
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;EndpointHealthDataInner&gt; object