Réinitialisez une instance de machine virtuelle. La réinitialisation d'une instance de VM revient à effectuer une réinitialisation matérielle sur votre ordinateur, en appuyant sur un bouton de réinitialisation ou en maintenant enfoncé le bouton Marche/Arrêt. La réinitialisation forcée d'une VM efface le contenu de la mémoire de la machine et rétablit l'état initial de la VM. La VM ne procède pas à un arrêt normal du système d'exploitation invité.
EXAMPLES
To reset an instance named "example-instance" in project "example-project", run:
gdcloud compute instances reset example-instance --project example-project
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003egdcloud compute instances reset\u003c/code\u003e command is used to forcibly reset a virtual machine instance to its initial state.\u003c/p\u003e\n"],["\u003cp\u003eResetting an instance is akin to a hard reset on a physical computer, wiping the machine's memory without a clean shutdown of the guest OS.\u003c/p\u003e\n"],["\u003cp\u003eTo reset an instance, you must provide the \u003ccode\u003eINSTANCE_NAME\u003c/code\u003e and can optionally use the \u003ccode\u003e--project\u003c/code\u003e flag to specify the project.\u003c/p\u003e\n"],["\u003cp\u003eThe gdcloud CLI also supports the use of wide flags like \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute instances reset\n\nNAME\n----\n\ngdcloud compute instances reset - Reset a virtual machine instance.\n\nSYNOPSIS\n--------\n\n gdcloud compute instances reset INSTANCE_NAME [flags]\n\nDESCRIPTION\n-----------\n\nReset a virtual machine instance. Resetting a VM instance is similar to doing a hard reset on your computer, where you might press a reset button or press and hold the power button. Resetting a VM forcibly wipes the memory contents of the machine and resets the VM to its initial state. The VM does not perform a clean shutdown of the guest OS.\n\n### EXAMPLES\n\n To reset an instance named \"example-instance\" in project \"example-project\", run:\n\n gdcloud compute instances reset example-instance --project example-project\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]