Skip to main content

Azure VMs

8 commands. Toolkit id ooa.azure_vm.

CommandWhat it does
ConnectSign in to Azure with a service principal (app registration) from the vault for one subscription; later Azure VM steps use it.
Create disk snapshotSnapshot a managed disk: a virtual machine's OS disk, or a disk named directly.
DisconnectClose the Azure session and forget its token and secret.
Get VM statusRead a virtual machine's power state (running, stopped, deallocated and so on) and provisioning state from its instance view.
List VMsList the virtual machines of the subscription, or of one resource group, with their size, location and tags.
Restart VMRestart a running virtual machine.
Start VMStart a stopped or deallocated virtual machine.
Stop VMStop a virtual machine: deallocate it (compute is no longer billed) or only power it off (the hardware stays reserved and billed).