1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/alpha/projects/move
2022-03-01 04:29:52 +00:00

57 lines
2.1 KiB
Text

NAME
gcloud alpha projects move - move a project into an organization
SYNOPSIS
gcloud alpha projects move PROJECT_ID_OR_NUMBER [--folder=FOLDER_ID]
[--organization=ORGANIZATION_ID] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Moves the given project into the given organization.
This command can fail for the following reasons:
▪ There is no project with the given ID.
▪ There is no organization with the given ID, if an organization is
given as the destination.
▪ There is no folder with the given ID, if a folder is given as the
destination.
▪ More than one of organization or folder is provided.
▪ The active account does not have the resourcemanager.projects.update
permission for the given project.
▪ The active account does not have the resourcemanager.projects.create
permission for the given organization.
▪ The given project is already in an organization.
EXAMPLES
The following command moves a project with the ID super-awesome-project
into the organization 25872158:
$ gcloud alpha projects move super-awesome-project \
--organization=25872158
POSITIONAL ARGUMENTS
PROJECT_ID_OR_NUMBER
ID or number for the project you want to move.
FLAGS
--folder=FOLDER_ID
ID for the folder to use as a parent
--organization=ORGANIZATION_ID
ID for the organization to use as a parent
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. This variant is also available:
$ gcloud beta projects move