I'm writing an azure resource deployment project in Visual Studios 2015 to create the infrastructure for website which uses a mysql database living within a VM (also created in the same script) but I have yet to figure out how to create the VM from an existing image (vhd).
Ideally I'd like create a storage container, copy a template vhd to it and then create a VM using the copied template vhd. I know you can use the 'azcopy' to copy vhds across containers and storage accounts but I'm a bit hazy on doing all this in one resource deployment. Any ideas?