dcloud ec2 instances network-move-plan

Show what moving an instance to another VPC or subnet would do

IAM ec2:DescribeInstancesRead

Synopsis

dcloud ec2 instances network-move-plan id --vpc-id vpcId [flags]

Arguments

  • <id>Required

    string

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

Flags

  • --vpc-idRequired

    string

    The VPC to move the instance to (the same VPC with a subnet moves it there)

    Constraints: uuid

  • --subnet-idOptional

    string

    A subnet of that VPC in the instance’s zone; an address is chosen inside it

    Constraints: uuid

  • --private-ipOptional

    string

    A free address to take; omitted, one is chosen for you

    Constraints: ipv4

Example

dcloud ec2 instances network-move-plan id --vpc-id 00000000-0000-0000-0000-000000000000

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