- NAME
-
- gcloud alpha compute addresses move - move an address to another project
- SYNOPSIS
-
-
gcloud alpha compute addresses moveNAME--target-project=TARGET_PROJECT[--description=DESCRIPTION] [--new-name=NEW_NAME] [--global|--region=REGION] [GCLOUD_WIDE_FLAG …]
-
- EXAMPLES
-
The following command moves address
external-ip1in regionus-central1to projecttest-playgroundwith new address nametest-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/regionproperty 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 helpfor 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 movegcloud beta compute addresses move
gcloud alpha compute addresses move
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.