gcloud beta compute public-delegated-prefixes create - creates a Compute Engine public delegated prefix
gcloud beta compute public-delegated-prefixes create NAME --public-advertised-prefix=PUBLIC_ADVERTISED_PREFIX --range=RANGE [--description=DESCRIPTION] [--enable-live-migration] [--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
To create a public delegated prefix:
$ gcloud beta compute public-delegated-prefixes create \ my-public-delegated-prefix --public-advertised-prefix=my-pap \ --range=120.120.10.128/27 --global
- NAME
Name of the public delegated prefix to operate on.
- --public-advertised-prefix=PUBLIC_ADVERTISED_PREFIX
Public advertised prefix that this delegated prefix is created from.
- --range=RANGE
IPv4 range from this public delegated prefix that should be delegated, in CIDR format. It must be smaller than parent public advertised prefix range.
- --description=DESCRIPTION
Description of this public delegated prefix.
- --enable-live-migration
Specify if this public delegated prefix is meant to be live migrated.
- At most one of these can be specified:
- --global
If set, the public delegated prefix is global.
- --region=REGION
Region of the public delegated prefix to operate on. Overrides the default compute/region property value for this command invocation.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud compute public-delegated-prefixes create
$ gcloud alpha compute public-delegated-prefixes create