psm MySQLCS operation-status

View the status of an operation on a MySQL Cloud Service instance.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm MySQLCS operation-status -j|--job-id job-id 
    [-of|--output-format json|html|short]

Parameters

Parameter Description

-j|--job-id job-id

Specifies the ID number of the job about which you want information.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Examples

The following example shows the current status of job 553943, which is an in-progress operation to stop the MySQL57–aas instance.

$ psm MySQLCS operation-status --job-id 553943