job update
Update specific job attributes in a specific project or space. You must set either project_id or space_id. You must specify the updates by using the JSON patch format (described in RFC 6902). Use 'last_run_initiator' for the initiator of the last job run; use 'last_run_status' for the status of the last job run.
Syntax
cpd-cli job update \
--body=<job-run-updates> \
[--configuration=<updated-job-configuration>] \
[--context=<catalog-project-or-space-id>] \
[--cpd-config=<cpd-config-location>] \
[--cpd-scope=<cpd-scope>] \
[--description=<updated-description>] \
[--jmes-query=<jmespath-query>] \
--job-id=<job-id> \
[--name=<updated-job-name>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
--profile=<cpd-profile-name> \
[--project-id=<cpd-project-id>] \
[--quiet] \
[--raw-output=true|false] \
[--space-id=<space-identifier>] \
[--verbose]
Arguments
The job update
command has no
arguments.
Options
Option | Description |
---|---|
--body |
Specify updates to make
to the job run.
|
--configuration |
Specify an updated job
configuration.
|
--context |
Specify the configuration context
name.
|
--cpd-config |
The Cloud Pak for Data
configuration location. For example,
$HOME/.cpd-cli/config.
|
--cpd-scope |
The Cloud Pak for Data space, project, or catalog scope. For example, cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
|
--description |
Specify an updated
description.
|
|
Display command
help.
|
--jmes-query |
Provide a JMESPath query to
customize the output.
|
--job-id |
Specify the job ID. Each job has a
unique ID. Alternatively, the serving_name value can be
used.
|
--name |
Specify an updated job
name.
|
--output |
Specify an output
format.
|
--output-file |
Specify a file path where all
output is redirected.
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
--project-id |
Specify a Cloud Pak for Data
project instance.
|
--quiet |
Suppress verbose
messages.
|
--raw-output |
When set to true, single values
are not surrounded by quotation marks in
JSON output
mode.
|
--space-id |
Specify a space
identifier.
|
--verbose |
Logs include more detailed
messages.
|
Table 1: Command options