General body of DSVM extension API request

This commit is contained in:
yueguoguo 2017-06-29 16:00:13 +08:00
Родитель c704d8fc37
Коммит a03d8a5eec
1 изменённых файлов: 20 добавлений и 0 удалений

20
inst/etc/extensions.json Normal file
Просмотреть файл

@ -0,0 +1,20 @@
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "DSVMExtensions",
"apiVersion": "2016-04-30-preview",
"location": "[parameters('location')]",
"properties": {
"publisher": "Microsoft.Compute",
"type": "CustomScriptExtension",
"typeHandlerVersion": "1.8",
"autoUpgradeMinorVersion": true,
"settings": {
"fileUris": ["<FILE_URL>"],
"commandToExecute": "<COMMAND>"
},
"protectedSettings": {}
},
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_name'))]"
]
}