File: //snap/google-cloud-cli/394/help/man/man1/gcloud_compute_public-delegated-prefixes_create.1
.TH "GCLOUD_COMPUTE_PUBLIC\-DELEGATED\-PREFIXES_CREATE" 1
.SH "NAME"
.HP
gcloud compute public\-delegated\-prefixes create \- creates a Compute Engine public delegated prefix
.SH "SYNOPSIS"
.HP
\f5gcloud compute public\-delegated\-prefixes create\fR \fINAME\fR \fB\-\-range\fR=\fIRANGE\fR (\fB\-\-public\-advertised\-prefix\fR=\fIPUBLIC_ADVERTISED_PREFIX\fR\ |\ \fB\-\-public\-delegated\-prefix\fR=\fIPUBLIC_DELEGATED_PREFIX\fR) [\fB\-\-allocatable\-prefix\-length\fR=\fIALLOCATABLE_PREFIX_LENGTH\fR] [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-enable\-live\-migration\fR] [\fB\-\-mode\fR=\fIMODE\fR] [\fB\-\-global\fR\ |\ \fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "EXAMPLES"
To create a public delegated prefix:
.RS 2m
$ gcloud compute public\-delegated\-prefixes create \e
my\-public\-delegated\-prefix \-\-public\-advertised\-prefix=my\-pap \e
\-\-range=120.120.10.128/27 \-\-global
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fINAME\fR
Name of the public delegated prefix to operate on.
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-range\fR=\fIRANGE\fR
IP range from this public delegated prefix that should be delegated, in CIDR
format. It must be smaller than parent public advertised prefix range.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-public\-advertised\-prefix\fR=\fIPUBLIC_ADVERTISED_PREFIX\fR
Public advertised prefix that this delegated prefix is created from.
.TP 2m
\fB\-\-public\-delegated\-prefix\fR=\fIPUBLIC_DELEGATED_PREFIX\fR
Regional Public delegated prefix that this delegated prefix is created from.
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-allocatable\-prefix\-length\fR=\fIALLOCATABLE_PREFIX_LENGTH\fR
The allocatable prefix length supported by this PDP.
.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR
Description of this public delegated prefix.
.TP 2m
\fB\-\-enable\-live\-migration\fR
Specify if this public delegated prefix is meant to be live migrated.
.TP 2m
\fB\-\-mode\fR=\fIMODE\fR
Specifies the mode of this IPv6 PDP. \fIMODE\fR must be one of:
\fBdelegation\fR, \fBexternal\-ipv6\-forwarding\-rule\-creation\fR,
\fBexternal\-ipv6\-subnetwork\-creation\fR.
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-global\fR
If set, the public delegated prefix is global.
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Region of the public delegated prefix to operate on. Overrides the default
\fBcompute/region\fR property value for this command invocation.
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha compute public\-delegated\-prefixes create
.RE
.RS 2m
$ gcloud beta compute public\-delegated\-prefixes create
.RE