Azure VM

Power off VM

Power off a VM. The VM can be restarted with the same provisioned resources. You are still charged for this VM.

Inputs

Field

Type

Description

resourceGroupName [required]

string

subscriptionId [required]

string

virtualMachineName [required]

string

skipShutdown

boolean

If true, shutdown non-gracefully. Defaults to false.

Outputs

Field

Type

Description

status [required]

enum

The status of the requested asynchronous operation. Allowed enum values: notStarted,running,succeeded,canceled,failed

location [required]

string

The location URL. This can be used in GET requests to track the status of the requested asynchronous operation.