dcloud ec2 instances listList instances
IAM ec2:DescribeInstancesRead
Synopsis
dcloud ec2 instances list [flags]Flags
--stateOptionalenum
Only instances in this state
One of:
pending,running,rebooting,stopping,stopped,shutting-down,terminated--limitOptionalnumber
At most this many, oldest first (default 100)
Constraints: integer, 1-500
--offsetOptionalnumber
Skip this many first: the next page is offset + limit (default 0)
Constraints: integer, 0-1000000
--tagOptionalstring
Only instances carrying these tags: "env=preview,slot=3" (all must match; a bare key: present)
Constraints: 1-512 chars
--nameOptionalstring
Only instances whose name or id contains this
Constraints: 1-64 chars
Example
dcloud ec2 instances listGenerated from the API description, the same one the API checks requests against and the CLI is built from.