gcloud compute public-advertised-prefixes create - creates a Compute Engine public advertised prefix
gcloud compute public-advertised-prefixes create NAME --dns-verification-ip=DNS_VERIFICATION_IP --range=RANGE [--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
To create a public advertised prefix:
$ gcloud compute public-advertised-prefixes create \ my-public-advertised-prefix --range=120.120.10.0/24 \ --dns-verification-ip=120.120.10.15
- NAME
Name of the public advertised prefix to operate on.
- --dns-verification-ip=DNS_VERIFICATION_IP
IPv4 address to use for verification. It must be within the IPv4 range specified in --range.
- --range=RANGE
IPv4 range allocated to this public advertised prefix, in CIDR format.
- --description=DESCRIPTION
Description of this public advertised prefix.
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.
These variants are also available:
$ gcloud alpha compute public-advertised-prefixes create
$ gcloud beta compute public-advertised-prefixes create