@@ -28,31 +28,32 @@ The following JSON shows the schema for the Azure VM Dependency agent extension
28
28
{
29
29
"$schema" : " https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#" ,
30
30
"contentVersion" : " 1.0.0.0" ,
31
- "parameters" : {
32
- "vmName" : {
33
- "type" : " string" ,
34
- "metadata" : {
35
- "description" : " The name of existing Linux Azure VM."
31
+ "parameters" : {
32
+ "vmName" : {
33
+ "type" : " string" ,
34
+ "metadata" : {
35
+ "description" : " The name of existing Linux Azure VM."
36
36
}
37
37
}
38
38
},
39
39
"variables" : {
40
- "vmExtensionsApiVersion" : " 2017-03-30"
40
+ "vmExtensionsApiVersion" : " 2017-03-30"
41
41
},
42
42
"resources" : [
43
43
{
44
44
"type" : " Microsoft.Compute/virtualMachines/extensions" ,
45
45
"name" : " [concat(parameters('vmName'),'/DAExtension')]" ,
46
46
"apiVersion" : " [variables('vmExtensionsApiVersion')]" ,
47
47
"location" : " [resourceGroup().location]" ,
48
- "dependsOn" : [
49
- ],
48
+ "dependsOn" : [],
50
49
"properties" : {
51
50
"publisher" : " Microsoft.Azure.Monitoring.DependencyAgent" ,
52
51
"type" : " DependencyAgentLinux" ,
53
52
"typeHandlerVersion" : " 9.5" ,
54
53
"autoUpgradeMinorVersion" : true ,
55
- "enableAMA" : true
54
+ "settings" : {
55
+ "enableAMA" : " true"
56
+ }
56
57
}
57
58
}
58
59
],
@@ -89,11 +90,13 @@ The following example assumes the Dependency agent extension is nested inside th
89
90
" [concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
90
91
],
91
92
"properties" : {
92
- "publisher" : " Microsoft.Azure.Monitoring.DependencyAgent" ,
93
- "type" : " DependencyAgentLinux" ,
94
- "typeHandlerVersion" : " 9.5" ,
95
- "autoUpgradeMinorVersion" : true ,
96
- "enableAMA" : true
93
+ "publisher" : " Microsoft.Azure.Monitoring.DependencyAgent" ,
94
+ "type" : " DependencyAgentLinux" ,
95
+ "typeHandlerVersion" : " 9.5" ,
96
+ "autoUpgradeMinorVersion" : true ,
97
+ "settings" : {
98
+ "enableAMA" : " true"
99
+ }
97
100
}
98
101
}
99
102
```
@@ -107,14 +110,16 @@ When you place the extension JSON at the root of the template, the resource name
107
110
"apiVersion" : " [variables('apiVersion')]" ,
108
111
"location" : " [resourceGroup().location]" ,
109
112
"dependsOn" : [
110
- " [concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
113
+ " [concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
111
114
],
112
115
"properties" : {
113
- "publisher" : " Microsoft.Azure.Monitoring.DependencyAgent" ,
114
- "type" : " DependencyAgentLinux" ,
115
- "typeHandlerVersion" : " 9.5" ,
116
- "autoUpgradeMinorVersion" : true ,
117
- "enableAMA" : true
116
+ "publisher" : " Microsoft.Azure.Monitoring.DependencyAgent" ,
117
+ "type" : " DependencyAgentLinux" ,
118
+ "typeHandlerVersion" : " 9.5" ,
119
+ "autoUpgradeMinorVersion" : true ,
120
+ "settings" : {
121
+ "enableAMA" : " true"
122
+ }
118
123
}
119
124
}
120
125
```
0 commit comments