Allow to create VM without starting it immediatelly
Sometimes I want to create VM and immediatelly set additional configuration like attachng additional disk, set static IP via powersell. Today when I create it I need to wait for it to be provisioned/started, then shutdown it and wait and finally I can do some additional settings. Also when recreating deleted VMs which had previously attached disks (SQL server, domain controller) it first starts with disks missing which can even break stuff. Please add additional checkbox/flag to portal/powershell when creating VM so that it is not started/provisioned immediatelly.
Interesting idea. If we see this pick up in votes, we will consider it.
Bonds, Steve W commented
Sometimes ARM templates allow one to do things that can't be done with PowerShell. This was unfortunately not one of those times. As of Dec 2020 there is no way to deploy a VM via ARM without it automatically powering up. Confirmed in MS Case 120121121000372.
I'd like to see this. We use Azure to test a lot of provisioning scripts. We don't need most of our VMs to ever be started, we just want to verify the deployment. Occasionally people will forget to delete them and they stay powered on, costing us money for no reason. Rather have a powerstate switch.