Getting a Job's Details
Get the details of a job in Resource Manager. You can view name, type, status, and other key information about jobs for a given compartment or stack. For configurations stored in Git, job details include the relevant commit identifier.
The Job details page opens. To view variables used in the job, click Variables under Resources. Use the
oci resource-manager job get
command and required parameters to get a job.oci resource-manager job get [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Resource Manager.
Use the GetJob operation to get a job.
Example ResponseThis example shows
ACCEPTED
forlifecycle-state
.{ "data": { "compartment-id": " ocid1.compartment.oc1..uniqueid", "defined-tags": null, "display-name": "Example Plan Job", "freeform-tags": {}, "id": "ocid1.ormjob.oc1..uniqueid", "lifecycle-state": "ACCEPTED", "operation": "PLAN", "jobOperationDetails": { "operation": "PLAN" }, "stack-id": " ocid1.ormstack.oc1..uniqueid", "time-created": "2019-03-09T20:52:13.922000+00:00", "time-finished": null, "variables": { "compartment_ocid": "ocid1.compartment.oc1..uniqueid", "region": "us-phoenix-1" } } }