get-command-status

subtitle

Get the status of the given CM command.

version

0.9.126

Description

Return the current status of the given CM command.

Synopsis

  get-command-status
--cluster-crn <value>
--command-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-crn (string)

The CRN of the target cluster.

--command-id (string)

ID of a CM command on the cluster.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

commandId -> (integer)

Id of the CM command.

success -> (boolean)

Whether the diagnostic collection is successful.

active -> (boolean)

Whether the command is still active.

name -> (string)

Name of the policy.

startTime -> (string)

Start time of the CM command.

endTime -> (string)

End time of the CM command.

resultDataUrl -> (string)

Some commands have result data URL for downloading the diagnostic bundle. On certain CM versions the bundle download is only available through this URL, but not with download-diagnostic-bundle operation.

resultMessage -> (string)

Result message of the command.

bundleStatus -> (string)

The current status of the command.

bundleStatusMessage -> (string)

Further information about the current command status.

Form Factors

public