Azure VMs
8 commands. Toolkit id ooa.azure_vm.
| Command | What it does |
|---|---|
| Connect | Sign in to Azure with a service principal (app registration) from the vault for one subscription; later Azure VM steps use it. |
| Create disk snapshot | Snapshot a managed disk: a virtual machine's OS disk, or a disk named directly. |
| Disconnect | Close the Azure session and forget its token and secret. |
| Get VM status | Read a virtual machine's power state (running, stopped, deallocated and so on) and provisioning state from its instance view. |
| List VMs | List the virtual machines of the subscription, or of one resource group, with their size, location and tags. |
| Restart VM | Restart a running virtual machine. |
| Start VM | Start a stopped or deallocated virtual machine. |
| Stop VM | Stop a virtual machine: deallocate it (compute is no longer billed) or only power it off (the hardware stays reserved and billed). |