dcloud ec2 instances resizeChange an instance server type
IAM ec2:ModifyInstanceAttributeChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud ec2 instances resize id --server-type serverTypeArguments
<id>Requiredstring
Also accepted as
--id. Constraints: /^i-[0-9a-f]{6,32}$/
Flags
--server-typeRequiredstring
The new instance type, e.g. performance-4 (provider names still accepted, deprecated)
Constraints: min 1 chars
Example
dcloud ec2 instances resize id --server-type exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.