dcloud ec2 vpcs createCreate a VPC
IAM ec2:CreateVpcChanges state
Synopsis
dcloud ec2 vpcs create --region-id regionId [flags]Flags
--region-idRequiredstring
The region to create it in, e.g. de1
Constraints: min 1 chars
--nameOptionalstring
A display name; omitted: none
Constraints: max 64 chars
--cidr-blockOptionalstring
Private IPv4 range (RFC 1918), /8 to /24, starting on its boundary
Default:
"10.0.0.0/16"--tagsOptionalmap of string
Tags for the new resource, e.g. {"env": "prod", "project": "shop"}. Keys your organization marks required must be present, or the create is refused with the missing keys (GET /tags/api/keys lists them).
Constraints: key=value
Example
dcloud ec2 vpcs create --region-id exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.