psm oehcs operation-status

View the status of an operation on an Oracle Event Hub Cloud Service - Topics instance.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm oehcs operation-status
	-j|--job-id job-id
	[-of|--output-format short|json|html]

Parameters

Parameter Description

-j|--job-id job-id

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

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

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

  • short—output is formatted as a brief summary.

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

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 status of job 1233, which is an operation to create a new topicdemo2 instance.

$ psm oehcs operation-status -j 1233
{
    "activityLogId":2156,
    "serviceName":"topicdemo2",
    "serviceType":"oehcs",
    "identityDomain":"usexample",
    "serviceId":31,
    "jobId":1233,
    "startDate":"2016-12-14T12:20:50.019+0000",
    "endDate":"2016-12-14T12:20:55.219+0000",
    "status":"SUCCEED",
    "operationId":31,
    "operationType":"CREATE_SERVICE",
    "summaryMessage":"CREATE_SERVICE",
    "authDomain":"usexample",
    "authUser":"oehcsadmin",
    "initiatedBy":"USER",
    "messages":[
        {
            "activityDate":"2016-12-14T12:20:50.019+0000",
            "message":"Activity Submitted"
        },
        {
            "activityDate":"2016-12-14T12:20:50.054+0000",
            "message":"Activity Started"
        },
        {
            "activityDate":"2016-12-14T12:20:50.376+0000",
            "message":"Allocating resources"
        },
        {
            "activityDate":"2016-12-14T12:20:55.219+0000",
            "message":"Activity Ended"
        }
    ]
}