Arrêtez une instance de machine virtuelle. L'arrêt d'une instance de VM effectue un arrêt propre, comme l'appel de la fonctionnalité d'arrêt d'un poste de travail ou d'un ordinateur portable. L'arrêt d'une instance de VM déjà arrêtée ne génère aucune erreur.
EXAMPLES
To stop an instance named "example-instance" in project "example-project", run:
gdcloud compute instances stop 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 stop\u003c/code\u003e command is used to safely shut down a virtual machine instance.\u003c/p\u003e\n"],["\u003cp\u003eStopping an already stopped instance will not result in an error.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires the instance's name as an argument, as shown in the \u003ccode\u003eINSTANCE_NAME\u003c/code\u003e portion of the synopsis.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the project for the instance using the \u003ccode\u003e--project\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eGlobal 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 are available for use with this command.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute instances stop\n\nNAME\n----\n\ngdcloud compute instances stop - Stop a virtual machine instance.\n\nSYNOPSIS\n--------\n\n gdcloud compute instances stop INSTANCE_NAME [flags]\n\nDESCRIPTION\n-----------\n\nStop a virtual machine instance. Stopping a VM instance performs a clean shutdown, much like invoking the shutdown functionality of a workstation or laptop. Stopping a VM instance which is already stopped will return without errors.\n\n### EXAMPLES\n\n To stop an instance named \"example-instance\" in project \"example-project\", run:\n\n gdcloud compute instances stop 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."]]