gdcloud compute images import

NOM

gdcloud compute images import : importer une image de machine virtuelle.

SYNOPSIS

gdcloud compute images import IMAGE_NAME [flags]

EXEMPLES

To import an Ubuntu 20.04 image, run:

    gdcloud compute images import byo-ubuntu-2004 \
    --project example-project \
    --source-file=./ubuntu-image.img \
    --os=ubuntu-2004

FLAGS FACULTATIFS

      --cleanup-on-failure   Whether or not the resources created by this command should be cleaned up on failure. (default true)
      --os string            The OS of the disk image being imported. OS must be one of: "ubuntu-2004", "ubuntu-2204", "ubuntu-2404", "rhel-8", "windows-2019", "windows-10", "garden-linux", "suse-chost-15".
      --source-file string   A local disk image file to import.
      --timeout string       Maximum time an import can last before it fails as timeout. Default value is "1h". Max value is "24h". (default "1h")

FLAGS GDCLOUD GÉNÉRAUX

Ces flags sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.

Pour en savoir plus, consultez la page de présentation de la documentation de référence de la gdcloud CLI.