JAEN

Cloud

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

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store