Skip to content

Commit 03b0482

Browse files
committed
Update agent-dependency-windows.md
1 parent 9f2f7fa commit 03b0482

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

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

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,15 @@ The following JSON shows the schema for the Azure VM Dependency agent extension
4343
"name": "[concat(parameters('vmName'),'/DAExtension')]",
4444
"apiVersion": "[variables('vmExtensionsApiVersion')]",
4545
"location": "[resourceGroup().location]",
46-
"dependsOn": [
47-
],
46+
"dependsOn": [],
4847
"properties": {
4948
"publisher": "Microsoft.Azure.Monitoring.DependencyAgent",
5049
"type": "DependencyAgentWindows",
5150
"typeHandlerVersion": "9.10",
5251
"autoUpgradeMinorVersion": true,
53-
"enableAMA": true
52+
"settings": {
53+
"enableAMA": "true"
54+
}
5455
}
5556
}
5657
],
@@ -87,12 +88,14 @@ The following example assumes the Dependency agent extension is nested inside th
8788
"[concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
8889
],
8990
"properties": {
90-
"publisher": "Microsoft.Azure.Monitoring.DependencyAgent",
91-
"type": "DependencyAgentWindows",
92-
"typeHandlerVersion": "9.10",
93-
"autoUpgradeMinorVersion": true,
94-
"enableAMA": true
95-
}
91+
"publisher": "Microsoft.Azure.Monitoring.DependencyAgent",
92+
"type": "DependencyAgentWindows",
93+
"typeHandlerVersion": "9.10",
94+
"autoUpgradeMinorVersion": true,
95+
"settings": {
96+
"enableAMA": "true"
97+
}
98+
}
9699
}
97100
```
98101

@@ -108,11 +111,13 @@ When you place the extension JSON at the root of the template, the resource name
108111
"[concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
109112
],
110113
"properties": {
111-
"publisher": "Microsoft.Azure.Monitoring.DependencyAgent",
112-
"type": "DependencyAgentWindows",
113-
"typeHandlerVersion": "9.10",
114-
"autoUpgradeMinorVersion": true,
115-
"enableAMA": true
114+
"publisher": "Microsoft.Azure.Monitoring.DependencyAgent",
115+
"type": "DependencyAgentWindows",
116+
"typeHandlerVersion": "9.10",
117+
"autoUpgradeMinorVersion": true,
118+
"settings": {
119+
"enableAMA": "true"
120+
}
116121
}
117122
}
118123
```

0 commit comments

Comments
 (0)