Reputation: 923
I have an managed image of VM, as described here. I need to deploy some VMs from that image with Managed Disk as OS disk. How can I do that with ARM Templates?
Upvotes: 3
Views: 2830
Reputation: 72151
Just take a regular VM arm template and replace storageProfile
with this:
"storageProfile": {
"imageReference": {
"id": "[resourceId('Microsoft.Compute/images', 'imageName')]"
},
"osDisk": {
"createOption": "FromImage"
}
},
Upvotes: 3