Skip to content

Commit 4c8206f

Browse files
authored
Update virtual-machine-scale-sets-health-extension.md
1 parent 6cfb1ad commit 4c8206f

File tree

1 file changed

+37
-35
lines changed

1 file changed

+37
-35
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-health-extension.md

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

153153
```json
154154
{
155-
"type": "extensions",
156-
"name": "HealthExtension",
157-
"apiVersion": "2018-10-01",
158-
"location": "<location>",
159-
"properties": {
160-
"publisher": "Microsoft.ManagedServices",
161-
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
162-
"autoUpgradeMinorVersion": true,
163-
"typeHandlerVersion": "1.0",
164-
"settings": {
165-
"protocol": "<protocol>",
166-
"port": <port>,
167-
"requestPath": "</requestPath>",
168-
"intervalInSeconds": 5,
169-
"numberOfProbes": 1
170-
}
155+
"extensionProfile" : {
156+
"extensions" : [
157+
"name": "HealthExtension",
158+
"properties": {
159+
"publisher": "Microsoft.ManagedServices",
160+
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
161+
"autoUpgradeMinorVersion": true,
162+
"typeHandlerVersion": "1.0",
163+
"settings": {
164+
"protocol": "<protocol>",
165+
"port": <port>,
166+
"requestPath": "</requestPath>",
167+
"intervalInSeconds": 5,
168+
"numberOfProbes": 1
169+
}
170+
}
171+
]
171172
}
172-
}
173+
}
173174
```
174175

175176
### Property values
@@ -198,25 +199,26 @@ The following JSON shows the schema for the Rich Health States extension. The ex
198199

199200
```json
200201
{
201-
"type": "extensions",
202-
"name": "HealthExtension",
203-
"apiVersion": "2018-10-01",
204-
"location": "<location>",
205-
"properties": {
206-
"publisher": "Microsoft.ManagedServices",
207-
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
208-
"autoUpgradeMinorVersion": true,
209-
"typeHandlerVersion": "2.0",
210-
"settings": {
211-
"protocol": "<protocol>",
212-
"port": <port>,
213-
"requestPath": "</requestPath>",
214-
"intervalInSeconds": 5,
215-
"numberOfProbes": 1,
216-
"gracePeriod": 600
217-
}
202+
"extensionProfile" : {
203+
"extensions" : [
204+
"name": "HealthExtension",
205+
"properties": {
206+
"publisher": "Microsoft.ManagedServices",
207+
"type": "<ApplicationHealthLinux or ApplicationHealthWindows>",
208+
"autoUpgradeMinorVersion": true,
209+
"typeHandlerVersion": "2.0",
210+
"settings": {
211+
"protocol": "<protocol>",
212+
"port": <port>,
213+
"requestPath": "</requestPath>",
214+
"intervalInSeconds": 5,
215+
"numberOfProbes": 1,
216+
"gracePeriod": 600
217+
}
218+
}
219+
]
218220
}
219-
}
221+
}
220222
```
221223

222224
### Property values

0 commit comments

Comments
 (0)