mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
55 lines
1.9 KiB
Text
55 lines
1.9 KiB
Text
NAME
|
|
gcloud asset analyze-move - analyzes resource move
|
|
|
|
SYNOPSIS
|
|
gcloud asset analyze-move --project=PROJECT_ID
|
|
(--destination-folder=FOLDER_ID
|
|
| --destination-organization=ORGANIZATION_ID)
|
|
[--blockers-only=BLOCKERS_ONLY] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Analyze resource migration from its current resource hierarchy.
|
|
|
|
EXAMPLES
|
|
To analyze the impacts of moving a project to a different organization,
|
|
run:
|
|
|
|
$ gcloud asset analyze-move --project=YOUR_PROJECT_ID \
|
|
--destination-organization=ORGANIZATION_ID
|
|
|
|
To analyze the impacts of moving a project to a different folder, run:
|
|
|
|
$ gcloud asset analyze-move --project=YOUR_PROJECT_ID \
|
|
--destination-folder=FOLDER_ID
|
|
|
|
To analyze only the blockers of moving a project to a different folder,
|
|
run:
|
|
|
|
$ gcloud asset analyze-move --project=YOUR_PROJECT_ID \
|
|
--destination-folder=FOLDER_ID --blockers-only=true
|
|
|
|
REQUIRED FLAGS
|
|
--project=PROJECT_ID
|
|
The project ID or number to perform the analysis.
|
|
|
|
Exactly one of these must be specified:
|
|
|
|
--destination-folder=FOLDER_ID
|
|
The destination folder ID to perform the analysis.
|
|
|
|
--destination-organization=ORGANIZATION_ID
|
|
The destination organization ID to perform the analysis.
|
|
|
|
OPTIONAL FLAGS
|
|
--blockers-only=BLOCKERS_ONLY
|
|
Determines whether to perform analysis against blockers only. Leaving
|
|
it empty means the full analysis will be performed including warnings
|
|
and blockers for the specified resource move.
|
|
|
|
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.
|