Restart

Estimated reading: 2 minutes 1019 views

The Restart VM operation is used to restart an existing virtual machine in the Azure environment. This operation stops and then starts the VM, which can be useful for applying updates or resolving issues.

Properties

INPUT

VirtualMachine:* Specifies the name of the virtual machine you want to restart. This field supports only string.

WaitForCompletion: When the value is True, waits for the activity to be completed before moving to the next activity. When the value is False, the activity ends immediately after the API call is made. The default value is True.

MISC

DisplayName: The display name of the activity or operation. This field supports only strings and String variables.

SkipOnError: Specify the “Boolean” value as “True” or “False.”

True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chose

VersionIndicates the version of the activity.

Output

Result: Provides the success status of the operation. This field indicates whether the VM was successfully restarted or if there were any issues during the operation.

Represents mandatory fields to execute the workflow

Notes

1. Restarting a VM involves stopping and then starting it. During this process, the VM will be temporarily unavailable.
2. The VM must be in a running state before you can restart it. If the VM is stopped or deallocated, it will need to be started first.

Share this Doc

Restart

Or copy link

CONTENTS