mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
58 lines
1.9 KiB
Text
58 lines
1.9 KiB
Text
NAME
|
|
gcloud compute public-advertised-prefixes create - creates a Compute Engine
|
|
public advertised prefix
|
|
|
|
SYNOPSIS
|
|
gcloud compute public-advertised-prefixes create NAME
|
|
--dns-verification-ip=DNS_VERIFICATION_IP --range=RANGE
|
|
[--description=DESCRIPTION] [--pdp-scope=PDP_SCOPE]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
EXAMPLES
|
|
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
|
|
|
|
To create a v2 public advertised prefix:
|
|
|
|
$ gcloud compute public-advertised-prefixes create \
|
|
my-v2-public-advertised-prefix --range=120.120.10.0/24 \
|
|
--dns-verification-ip=120.120.10.15 --pdp-scope=REGIONAL
|
|
|
|
POSITIONAL ARGUMENTS
|
|
NAME
|
|
Name of the public advertised prefix to operate on.
|
|
|
|
REQUIRED FLAGS
|
|
--dns-verification-ip=DNS_VERIFICATION_IP
|
|
IP address to use for verification. It must be within the IP range
|
|
specified in --range.
|
|
|
|
--range=RANGE
|
|
IP range allocated to this public advertised prefix, in CIDR format.
|
|
|
|
OPTIONAL FLAGS
|
|
--description=DESCRIPTION
|
|
Description of this public advertised prefix.
|
|
|
|
--pdp-scope=PDP_SCOPE
|
|
Specifies how child public delegated prefix will be scoped. PDP_SCOPE
|
|
must be one of: GLOBAL, REGIONAL.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
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.
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha compute public-advertised-prefixes create
|
|
|
|
$ gcloud beta compute public-advertised-prefixes create
|
|
|