Skip to content

Commit e08910a

Browse files
authored
Update health-extension.md
1 parent 4c8206f commit e08910a

File tree

1 file changed

+37
-35
lines changed

1 file changed

+37
-35
lines changed

articles/virtual-machines/extensions/health-extension.md

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -135,24 +135,25 @@ The following JSON shows the schema for the Application Health extension. The ex
135135

136136
```json
137137
{
138-
"type": "extensions",
139-
"name": "HealthExtension",
140-
"apiVersion": "2018-10-01",
141-
"location": "<location>",
142-
"properties": {
143-
"publisher": "Microsoft.ManagedServices",
144-
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
145-
"autoUpgradeMinorVersion": true,
146-
"typeHandlerVersion": "1.0",
147-
"settings": {
148-
"protocol": "<protocol>",
149-
"port": <port>,
150-
"requestPath": "</requestPath>",
151-
"intervalInSeconds": 5,
152-
"numberOfProbes": 1
153-
}
138+
"extensionProfile" : {
139+
"extensions" : [
140+
"name": "HealthExtension",
141+
"properties": {
142+
"publisher": "Microsoft.ManagedServices",
143+
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
144+
"autoUpgradeMinorVersion": true,
145+
"typeHandlerVersion": "1.0",
146+
"settings": {
147+
"protocol": "<protocol>",
148+
"port": <port>,
149+
"requestPath": "</requestPath>",
150+
"intervalInSeconds": 5,
151+
"numberOfProbes": 1
152+
}
153+
}
154+
]
154155
}
155-
}
156+
}
156157
```
157158

158159
### Property values
@@ -180,25 +181,26 @@ The following JSON shows the schema for the Rich Health States extension. The ex
180181

181182
```json
182183
{
183-
"type": "extensions",
184-
"name": "HealthExtension",
185-
"apiVersion": "2018-10-01",
186-
"location": "<location>",
187-
"properties": {
188-
"publisher": "Microsoft.ManagedServices",
189-
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
190-
"autoUpgradeMinorVersion": true,
191-
"typeHandlerVersion": "2.0",
192-
"settings": {
193-
"protocol": "<protocol>",
194-
"port": <port>,
195-
"requestPath": "</requestPath>",
196-
"intervalInSeconds": 5,
197-
"numberOfProbes": 1,
198-
"gracePeriod": 600
199-
}
184+
"extensionProfile" : {
185+
"extensions" : [
186+
"name": "HealthExtension",
187+
"properties": {
188+
"publisher": "Microsoft.ManagedServices",
189+
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
190+
"autoUpgradeMinorVersion": true,
191+
"typeHandlerVersion": "2.0",
192+
"settings": {
193+
"protocol": "<protocol>",
194+
"port": <port>,
195+
"requestPath": "</requestPath>",
196+
"intervalInSeconds": 5,
197+
"numberOfProbes": 1,
198+
"gracePeriod": 600
199+
}
200+
}
201+
]
200202
}
201-
}
203+
}
202204
```
203205

204206
### Property values

0 commit comments

Comments
 (0)