dcloud ec2 instances rename

Set or clear an instance display name

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

Synopsis

dcloud ec2 instances rename id --name name

Arguments

  • <id>Required

    string

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

Flags

  • --nameRequired

    string

    The new display name; null clears it

    Constraints: max 64 chars

    May be null.

Example

dcloud ec2 instances rename id --name example

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