Get VM status
Read a virtual machine's power state (running, stopped, deallocated and so on) and provisioning state from its instance view.
Command in the Azure VMs toolkit · id ooa.azure_vm/get_vm_status · 3 inputs (2 required), 4 outputs
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. |
Outputs
| Output | Type | What it is |
|---|---|---|
| power_state | String | Power state: starting, running, stopping, stopped, deallocating, deallocated or unknown. |
| provisioning_state | String | Provisioning state, e.g. succeeded, updating or failed. |
| display_status | String | Azure's text for the power state, e.g. VM running. |
| statuses | Table | Columns: code, level, display_status, time. |