1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 07:58:28 +00:00
gcloud-help/gcloud/alpha/compute/addresses/move
2023-05-17 10:38:17 +00:00

61 lines
2 KiB
Text

NAME
gcloud alpha compute addresses move - move an address to another project
SYNOPSIS
gcloud alpha compute addresses move NAME --target-project=TARGET_PROJECT
[--description=DESCRIPTION] [--new-name=NEW_NAME]
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
EXAMPLES
The following command moves address external-ip1 in region us-central1 to
project test-playground with new address name test-ip1:
$ gcloud alpha compute addresses move external-ip1 \
--new-name=test-ip1 --target-project=test-playground \
--region=us-central1
POSITIONAL ARGUMENTS
NAME
Name of the address to operate on.
REQUIRED FLAGS
--target-project=TARGET_PROJECT
The target project to move address to. It can be either a project name
or a project numerical ID. It must not be the same as the current
project.
OPTIONAL FLAGS
--description=DESCRIPTION
Description of moved new address.
--new-name=NEW_NAME
Name of moved new address. If not specified, current address's name is
used.
At most one of these can be specified:
--global
If set, the address is global.
--region=REGION
Region of the address 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
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud compute addresses move
$ gcloud beta compute addresses move