Create a VM from a Windows Image with 4 Empty Data Disks
{"apiversion": "2020-12-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"computername": "[variables('vmname')]", "adminusername": "[parameters('adminusername')]", "adminpassword": "[parameters('adminpasswordorkey')]", "linuxconfiguration": "[if(equals(parameters('authenticationtype'), "password'), json('null'), variables('linuxconfiguration'))]"}, "storageprofile": {"imagereference": {"publisher": "[variables('images')[parameters('ostype')].publisher]", "offer": "[variables('images')[parameters('ostype')].offer]", "sku": "[variables('images')[parameters('ostype')].sku]", "version": "latest"}, "osdisk": {"name": "[concat(variables('vmname'),"_osdisk')]", "caching": "readwrite", "createoption": "fromimage"}}, "networkprofile": {"networkinterfaces": [{"id": "[resourceid('microsoft.network/networkinterfaces",variables('nicname'))]"}]}}}{"type": "microsoft.compute/virtualmachines/extensions", "name": "[concat(variables('vmname'),"/", variables('vmextensionname'))]", "apiversion": "2020-12-01", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.compute/virtualmachines/", variables('vmname'))]"], "properties": {"publisher": "chef.bootstrap.windowsazure", "type": "linuxchefclient", "typehandlerversion": "1210.12", "autoupgrademinorversion": true, "settings": {"bootstrap_options": {"chef_node_name": "[parameters('chef_node_name')]", "chef_server_url": "[parameters('chef_server_url')]", "validation_client_name": "[parameters('validation_client_name')]"}, "runlist": "[parameters('runlist')]", "validation_key_format": "[parameters('validation_key_format')]", "chef_service_interval": "[parameters('chef_service_interval')]", "bootstrap_version": "[parameters('bootstrap_version')]", "bootstrap_channel": "[parameters('bootstrap_channel')]", "daemon": "[parameters('daemon')]"}, "protectedsettings": {"validation_key": "[parameters('validation_key')]", "secret": "[parameters('secret')]"}}} 