The dpmec2 getinstances command lists Amazon EC2 reservations.
This command has the following format:
dpmec2 getinstances [-sc sc_url] -reservation all|reservationID[,reservationID] [-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 all instance reservations or specific reservations.
Lists all instances.
Lists the instances with specific reservation IDs
Defines any of the regions supported and defined by Amazon.
(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 All Instances
This example lists reservations for all instances.
dpmec2 getinstances -reservation all
Copyright © 2013 CA. All rights reserved. |
|