code: public Observable<UpdateSummaryInner> getUpdateSummaryAsync(String deviceName, String resourceGroupName) {
          return getUpdateSummaryWithServiceResponseAsync(deviceName, resourceGroupName).map(new Func1<ServiceResponse<UpdateSummaryInner>, UpdateSummaryInner>() {
              @Override
              public UpdateSummaryInner call(ServiceResponse<UpdateSummaryInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.
  
  @param deviceName The device name.
  @param resourceGroupName The resource group name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the UpdateSummaryInner object