dcloud ec2 elastic-ips allocate

Allocate an elastic IP in a region

IAM ec2:AllocateAddressChanges state

Synopsis

dcloud ec2 elastic-ips allocate --region-id regionId [flags]

Flags

  • --region-idRequired

    string

    The region to allocate the address in, e.g. de1

    Constraints: min 1 chars

  • --tagsOptional

    map of string

    Tags for the address; omitted: none, and associating it with an instance may copy that instance’s tags

    Constraints: key=value

Example

dcloud ec2 elastic-ips allocate --region-id example

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