Previous Topic: dpmec2 getinstances Command--Get Amazon EC2 Instances

Next Topic: dpmec2 imgjobcheck Command--Get Amazon EC2 Imaging Job Status


dpmec2 getlist Command--Get Amazon EC2 List

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]
-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

-display zones | keypairs | security | types | vpcs | subnets |customer_gateways | vpn_gateways | vpm_connections

Defines the objects to list.

-image imageID

Defines the instance types to list for the AMI.

-region region

Defines any of the regions supported and defined by Amazon.

-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: List Amazon EC2 objects

This example lists the VPC subnets.

dpmec2 getlist -display subnets