Create a VM from a Windows Image with 4 Empty Data Disks
{"type": "microsoft.compute/virtualmachines", "apiversion": "2019-07-01", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "dependson": ["[variables('nicname')]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"computername": "[parameters('vmname')]", "adminusername": "[parameters('adminusername')]", "adminpassword": "[parameters('adminpassword')]", "secrets": [{"sourcevault": {"id": "[parameters('vaultresourceid')]"}, "vaultcertificates": [{"certificateurl": "[parameters('certificateurl')]", "certificatestore": "my"}]}], "windowsconfiguration": {"provisionvmagent": true, "winrm": {"listeners": [{"protocol": "http"}, {"protocol": "https", "certificateurl": "[parameters('certificateurl')]"}]}, "enableautomaticupdates": true}}, "storageprofile": {"imagereference": {"publisher": "[parameters('imagepublisher')]", "offer": "[parameters('imageoffer')]", "sku": "[parameters('imagesku')]", "version": "latest"}, "osdisk": {"caching": "readwrite", "createoption": "fromimage"}}, "networkprofile": {"networkinterfaces": [{"id": "[resourceid('microsoft.network/networkinterfaces",variables('nicname'))]"}]}}} 