Skip to main content

Restart VM

Restart a running virtual machine.

Command in the Azure VMs toolkit · id ooa.azure_vm/restart_vm · 5 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNoazureName of the session opened by Connect.
Resource groupStringYesResource group of the virtual machine.
VM nameStringYesName of the virtual machine.
WaitBooleanNotrueWait until Azure has finished; otherwise the step ends as soon as Azure has accepted the request.
Timeout (seconds)NumberNo900Stop waiting after this many seconds and fail.

Outputs​

OutputTypeWhat it is
statusStringSucceeded when waited for, otherwise Accepted.