Skip to content

Commit efa91dc

Browse files
authored
PR review edit, fix JSON for legibility
1 parent 45bb4dc commit efa91dc

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

articles/virtual-machines/extensions/agent-windows.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,24 @@ The Windows Guest Agent Package is broken into two parts:
3030
To boot a VM you must have the PA installed on the VM, however the WinGA does not need to be installed. At VM deploy time, you can select not to install the WinGA. The following example shows how to select the *provisionVmAgent* option with an Azure Resource Manager template:
3131

3232
```json
33-
"resources": [{
34-
"name": "[parameters('virtualMachineName')]",
35-
"type": "Microsoft.Compute/virtualMachines",
36-
"apiVersion": "2016-04-30-preview",
37-
"location": "[parameters('location')]",
38-
"dependsOn": ["[concat('Microsoft.Network/networkInterfaces/', parameters('networkInterfaceName'))]"],
39-
"properties": {
40-
"osProfile": {
41-
"computerName": "[parameters('virtualMachineName')]",
42-
"adminUsername": "[parameters('adminUsername')]",
43-
"adminPassword": "[parameters('adminPassword')]",
44-
"windowsConfiguration": {
45-
"provisionVmAgent": "false"
33+
{
34+
"resources": [{
35+
"name": ["parameters('virtualMachineName')"],
36+
"type": "Microsoft.Compute/virtualMachines",
37+
"apiVersion": "2016-04-30-preview",
38+
"location": ["parameters('location')"],
39+
"dependsOn": ["[concat('Microsoft.Network/networkInterfaces/', parameters('networkInterfaceName'))]"],
40+
"properties": {
41+
"osProfile": {
42+
"computerName": ["parameters('virtualMachineName')"],
43+
"adminUsername": ["parameters('adminUsername')"],
44+
"adminPassword": ["parameters('adminPassword')"],
45+
"windowsConfiguration": {
46+
"provisionVmAgent": "false"
47+
}
48+
}
49+
}
50+
}]
4651
}
4752
```
4853

0 commit comments

Comments
 (0)