def begin_cancel(job_name, custom_headers:nil)
      response = begin_cancel_async(job_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_cancel(job_name, custom_headers:nil)
      response = begin_cancel_async(job_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Cancels the specified job.

 The operation to cancel an Azure Site Recovery job.

 @param job_name [String] Job indentifier.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Job] operation results.