@@ -43,14 +43,15 @@ The following JSON shows the schema for the Azure VM Dependency agent extension
43
43
"name" : " [concat(parameters('vmName'),'/DAExtension')]" ,
44
44
"apiVersion" : " [variables('vmExtensionsApiVersion')]" ,
45
45
"location" : " [resourceGroup().location]" ,
46
- "dependsOn" : [
47
- ],
46
+ "dependsOn" : [],
48
47
"properties" : {
49
48
"publisher" : " Microsoft.Azure.Monitoring.DependencyAgent" ,
50
49
"type" : " DependencyAgentWindows" ,
51
50
"typeHandlerVersion" : " 9.10" ,
52
51
"autoUpgradeMinorVersion" : true ,
53
- "enableAMA" : true
52
+ "settings" : {
53
+ "enableAMA" : " true"
54
+ }
54
55
}
55
56
}
56
57
],
@@ -87,12 +88,14 @@ The following example assumes the Dependency agent extension is nested inside th
87
88
" [concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
88
89
],
89
90
"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
+ }
96
99
}
97
100
```
98
101
@@ -108,11 +111,13 @@ When you place the extension JSON at the root of the template, the resource name
108
111
" [concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
109
112
],
110
113
"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
+ }
116
121
}
117
122
}
118
123
```
0 commit comments