dcloud ec2 instances resize

Change an instance server type

IAM ec2:ModifyInstanceAttributeChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud ec2 instances resize id --server-type serverType

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^i-[0-9a-f]{6,32}$/

Flags

  • --server-typeRequired

    string

    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 example

Generated from the API description, the same one the API checks requests against and the CLI is built from.