Shutdown

Estimated reading: 2 minutes 1029 views

The Shutdown VM operation is used to shut down an existing virtual machine (VM) in the Azure environment. This operation is typically used to turn off a VM without deallocating it, meaning that the VM remains in the resource group and its configuration is preserved, including its public IP address if applicable.

Properties

INPUT

WaitForCompletion: When the value is True, it 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 False.

VirtualMachine*: Specifies the name of the virtual machine you want to shut down. This field supports only strings and String variables.

WaitIntervalSeconds: Specifies how long to wait (in seconds) for the activity to run before an error is thrown. If not set, the activity runs until completion. It is executed only when the WaitForCompletion parameter has the value True.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized which will help in troubleshooting.

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 chosen.

Version: Indicates the version of the activity.

OUTPUT

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

* Represents mandatory fields to execute the workflow

Notes

1. Shutting down a VM does not deallocate it, which means the VM retains its public IP address (if any) and is still billed for its reserved resources. This is different from stopping the VM, which deallocates it and can release associated resources.

Share this Doc

Shutdown

Or copy link

CONTENTS