Skip to content

Commit 4e0a566

Browse files
Merge pull request #270575 from hilaryw29/patch-23
Update ARM template examples
2 parents 9914978 + e08910a commit 4e0a566

File tree

2 files changed

+74
-70
lines changed

2 files changed

+74
-70
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

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)