The dpmec2 getlist command lists various Amazon EC2 objects.
This command has the following format:
dpmec2 getlist [-sc sc_url] -display zones|keypairs|security|types|vpcs|subnets| customer_gateways|vpn_gateways|vpn_connections -image imageID [-region region][-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 objects to list.
Defines the instance types to list for the AMI.
Defines any of the regions supported and defined by Amazon.
(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: List Amazon EC2 objects
This example lists the VPC subnets.
dpmec2 getlist -display subnets
Copyright © 2013 CA. All rights reserved. |
|