- 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.
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 2024-02-06 UTC.