The dpmec2 getimages command lists Amazon EC2 images.
This command has the following format:
dpmec2 getimages [-sc sc_url] {-image all|imageID[,imageID] | -owner ownerID[,ownerID]} [-region region] [-pre] [-post][-locale iso639value]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Defines the list of all images, specific images, or images by owners.
Lists all images for a specified region. If -region is not specified, the default region is used.
Lists specific images.
Lists all images for a specified region. If -region is not specified, the default region is used.
Lists AMIs for the default or specified region. If you do not specify this option, the default region (set during or after installation in the UI or CLI) is used.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(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 a Specific Image
This example lists details for image AMI-40fb5892.
dpmec2 getimages -image ami-40bf5892
Copyright © 2013 CA. All rights reserved. |
|