Previous Topic: dpmec2 getlist Command--Get Amazon EC2 List

Next Topic: dpmec2 manage Command--Manage Amazon Elastic Compute Cloud Instances


dpmec2 imgjobcheck Command--Get Amazon EC2 Imaging Job Status

The dpmec2 imgjobcheck command lists the Amazon EC2 job status for a specific job ID.

This command has the following format:

dpmec2 imgjobcheck [-sc sc_url] -status jobID [-region region][-pre] [-post][-locale iso639value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-status jobID

Defines the job ID.

-region region

Defines any of the regions supported and defined by Amazon.

-pre

(Optional) Specifies whether to generate an event before the operation is performed.

-post

(Optional) Specifies whether to generate an event after the operation is performed.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Get Image Status Using Job ID

This example lists the job status of the Amazon EC2 run action.

dpmec2 imgjobcheck -status 42