Prerequisite - The VHD reference image to be used for OS disks must be in an Azure Resource Manager storage account.
This template allows you to create a Virtual Machines from user specified images for OS disks. The disks used for your VM will be based on copies of the images you specify in the template parameters. This template also deploys a Virtual Network, Public IP addresses and a Network Interface in a user specified resource group.