Create a VM from a Windows Image with 4 Empty Data Disks
{"apiversion": "2017-03-30", "type": "microsoft.compute/virtualmachines", "name": "[concat('zookprvm", copyindex())]", "location": "[parameters('location')]", "copy": {"name": "virtualzookeepermachineloop", "count": "[variables('numberofzookeeperinstances')]"}, "dependson": ["[resourceid('microsoft.resources/deployments/", "shared-resources')]", "[concat('microsoft.network/networkinterfaces/", "niczoo", copyindex())]"], "properties": {"availabilityset": {"id": "[resourceid('microsoft.compute/availabilitysets", "kafkacluseras')]"}, "hardwareprofile": {"vmsize": "[variables('vmsize')]"}, "osprofile": {"computername": "[concat(variables('computernameprefix'), copyindex())]", "adminusername": "[parameters('adminusername')]", "adminpassword": "[parameters('adminpassword')]", "linuxconfiguration": {"disablepasswordauthentication": false}}, "storageprofile": {"imagereference": {"publisher": "[parameters('imagepublisher')]", "offer": "[parameters('imageoffer')]", "sku": "[parameters('imagesku')]", "version": "latest"}, "osdisk": {"name": "[concat('zookprvm", copyindex(),"_osdisk')]", "caching": "readwrite", "createoption": "fromimage"}}, "networkprofile": {"networkinterfaces": [{"id": "[resourceid('microsoft.network/networkinterfaces",concat('niczoo", copyindex()))]"}]}}} 