仮想マシン インスタンスをリセットします。VM インスタンスのリセットは、リセットボタンを押すか、電源ボタンを長押ししてパソコンをハードリセットすることに似ています。VM をリセットすると、マシンのメモリの内容が強制的にワイプされ、VM が初期状態にリセットされます。VM は、ゲスト OS のクリーン シャットダウンを実行しません。
EXAMPLES
To reset an instance named "example-instance" in project "example-project", run:
gdcloud compute instances reset example-instance --project example-project
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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."]]