Prerequisite - The VHD images to be used for OS and data 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 and Data 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.