Comments on: Deploy Azure Resources with JSON template //www.tech-coffee.net/deploy-azure-resources-with-json-template/ Wed, 16 Jan 2019 06:45:20 +0000 hourly 1 https://wordpress.org/?v=5.0.3 By: Romain Serre //www.tech-coffee.net/deploy-azure-resources-with-json-template/#comment-146 Wed, 30 Sep 2015 09:10:39 +0000 //www.tech-coffee.net/?p=3702#comment-146 Hi Raj,

Thank you for the correction. I’ll make the modification in the GitHub this week-end.

Have a nice day.

Romain.

]]>
By: Raj //www.tech-coffee.net/deploy-azure-resources-with-json-template/#comment-143 Tue, 29 Sep 2015 13:17:26 +0000 //www.tech-coffee.net/?p=3702#comment-143 Hi Romain, Thanks for the good article.

You have created VMs and Availability sets separately but missed to add the VMs in Availability sets.

The VM section of the template should be like:

“dependsOn”: [
……
“[concat(‘Microsoft.Compute/availabilitySets/’, parameters(‘WEBTierName’))]”
],

( and )

“availabilitySet”: {
“id”: “[resourceId(‘Microsoft.Compute/availabilitySets’, parameters(‘WEBTierName’))]”
},

Thanks,
Raj

]]>