Stay organized with collections Save and categorize content based on your preferences.
gcloud compute migration machine-image-imports
COMMAND
[GCLOUD_WIDE_FLAG …
]
The commands use VM Migration API which supports importing of a machine image from a Google Cloud Storage file (gs://…) to a target project. VM Migration API must be enabled in your project.
gcloud migration vms machine-image-imports create
creates a machine Image Import resource with a nested Image Import Job resource. The Image Import Job resource tracks the machine image import progress. After the Image Import Job completes, successfully or otherwise, there's no further use for the Image Import resource.
The machine image is imported to a Google Cloud Project, desginated by the Target Project resource. To get a list of Target Projects, run the gcloud alpha migration vms target-projects list command. Use the Google Cloud console to add target project resources. For information on adding target projects, see https://cloud.google.com/migrate/virtual-machines/docs/5.0/how-to/target-project.
A project can support up to a certain number of Image Import resources per project. Hence it's recommended to delete an Image Import resource after the Image Import Job is complete to avoid reaching the Image Import resources limit. Deletion of Image Import resource does not affect the imported machine image. For more information about the image import resource, see https://cloud.google.com/migrate/virtual-machines/docs/5.0/migrate/image_import.
--help
.
Run $ gcloud help
for details.
COMMAND
is one of the following:
create
delete
describe
list
gcloud alpha compute migration machine-image-imports
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-08-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-05 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4