def check_status(group_name, service_name, custom_headers:nil)
      response = check_status_async(group_name, service_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_status(group_name, service_name, custom_headers:nil)
      response = check_status_async(group_name, service_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
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 group_name [String] Name of the resource group
 @param service_name [String] Name of the service
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [DataMigrationServiceStatusResponse] operation results.