gcloud beta compute addresses move Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta compute addresses move - move an address to another project
- SYNOPSIS
gcloud beta 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 newaddress nametest-ip1:gcloudbetacomputeaddressesmoveexternal-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 aproject 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 beta and might change without notice. Thesevariants are also available:
gcloudcomputeaddressesmovegcloudalphacomputeaddressesmove
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.