NAME

gcloud compute public-delegated-prefixes create - creates a Compute Engine public delegated prefix

SYNOPSIS

gcloud 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 ...]

EXAMPLES

To create a public delegated prefix:

$ gcloud compute public-delegated-prefixes create \ my-public-delegated-prefix --public-advertised-prefix=my-pap \ --range=120.120.10.128/27 --global

POSITIONAL ARGUMENTS

NAME

Name of the public delegated prefix to operate on.

REQUIRED FLAGS

--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.

OPTIONAL FLAGS

--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.

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-delegated-prefixes create

$ gcloud beta compute public-delegated-prefixes create