code: public Observable<DataMigrationServiceStatusResponseInner> checkStatusAsync(String groupName, String serviceName) {
          return checkStatusWithServiceResponseAsync(groupName, serviceName).map(new Func1<ServiceResponse<DataMigrationServiceStatusResponseInner>, DataMigrationServiceStatusResponseInner>() {
              @Override
              public DataMigrationServiceStatusResponseInner call(ServiceResponse<DataMigrationServiceStatusResponseInner> response) {
                  return response.body();
              }
          });
      }
docs: Check service health status.
  The services resource is the top-level resource that represents the Data Migration Service. This action performs a health check and returns the status of the service and virtual machine size.
  
  @param groupName Name of the resource group
  @param serviceName Name of the service
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the DataMigrationServiceStatusResponseInner object