This API must return the status of a job executed in an SDDC.

The jobID of the job will be sent with the GET request. The status can be one of the following:
  • RUNNING - Job is still running.
  • COMPLETED - Job completed successfully.
  • FAILED - Job was never submitted for execution, for example.
  • NOT_FOUND - This status can be returned when the exact nature of failure is unknown.

Procedure

  1. The following GET request will be sent to the server.
    https://{{server_ip}}:9443/api/v1/get_job_status{jobID}
  2. A successful call must return the jobID with the status:
    {
          "jobId" : "image-esxi-c27f33ac-8507-46ab",
          "status" : "COMPLETED"
      }