Stop VM
Stop a virtual machine: deallocate it (compute is no longer billed) or only power it off (the hardware stays reserved and billed).
Command in the Azure VMs toolkit · id ooa.azure_vm/stop_vm · 7 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | azure | Name of the session opened by Connect. |
| Resource group | String | Yes | Resource group of the virtual machine. | |
| VM name | String | Yes | Name of the virtual machine. | |
| Mode | String | No | deallocate | deallocate: release the hardware so compute is not billed; power_off: stop the VM but keep (and pay for) its hardware. |
| Skip shutdown | Boolean | No | false | Power off without a clean shutdown of the operating system (power_off only). |
| Wait | Boolean | No | true | Wait until Azure has finished; otherwise the step ends as soon as Azure has accepted the request. |
| Timeout (seconds) | Number | No | 900 | Stop waiting after this many seconds and fail. |
Outputs
| Output | Type | What it is |
|---|---|---|
| status | String | Succeeded when waited for, otherwise Accepted. |