az vm start/stop
CautionStart/stop Azure VM
az vm start -g <rg> -n <name>
Starts/stops/deallocates an Azure VM; deallocate halts billing.
Examples
az vm deallocate -g rg1 -n web01Stop and halt billing
Syntax
az vm start|stop|deallocate -g <rg> -n <name>
Before you run it
Stopping causes downtime; verify rg/name.
Related commands
- az vm listList Azure VMs
- az login / account showAzure auth
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store