Skip to content

Commit 60b0ed5

Browse files
authored
Merge pull request #109812 from vinynigam/patch-60
Updating ARM template
2 parents 31ec5bb + d06ba3a commit 60b0ed5

File tree

1 file changed

+29
-27
lines changed

1 file changed

+29
-27
lines changed

articles/network-watcher/connection-monitor-preview.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -153,31 +153,31 @@ $connectionMonitorName = "sampleConnectionMonitor"
153153
154154
$ARM = "[https://](https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbrazilus.management.azure.com&data=02%7C01%7CManasi.Sant%40microsoft.com%7Cd900da4ed7f24366842108d68022159b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636837281231186904&sdata=qHL8zWjkobY9MatRpAVbODwboKSQAqqEFOMnjmfyOnU%3D&reserved=0)management.azure.com"
155155
156-
$SUB = "subscriptions/\<subscription id 1\>"
156+
$SUB = "subscriptions/<subscription id 1>;"
157157
158-
$NW = "resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher\_centraluseuap"
158+
$NW = "resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher\_<region>"
159159
160160
$body =
161161
162162
"{
163163
164-
location: 'eastus',
164+
location: '<region>',
165165
166166
properties: {
167167
168168
endpoints: [{
169169
170170
name: 'workspace',
171171
172-
resourceId: '/subscriptions/\&lt;subscription id\&gt;/resourcegroups/\&lt;resource group\&gt;/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace',
172+
resourceId: '/subscriptions/<subscription id>/resourcegroups/<resource group>/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace',
173173
174174
filter: {
175175
176176
items: [{
177177
178178
type: 'AgentAddress',
179179
180-
address: '\&lt;FQDN of your on-premises agent'
180+
address: '<FQDN of your on-premises agent>'
181181
182182
}]
183183
@@ -189,31 +189,31 @@ address: '\&lt;FQDN of your on-premises agent'
189189
190190
name: 'vm1',
191191
192-
resourceId: '/subscriptions/\&lt;subscription id\&gt;/resourceGroups/\&lt;resource group\&gt;/providers/Microsoft.Compute/virtualMachines/\&lt;vm-name\&gt;'
192+
resourceId: '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Compute/virtualMachines/<vm-name>'
193193
194194
},
195195
196196
{
197197
198198
name: 'vm2',
199199
200-
resourceId: '/subscriptions/\&lt;subscription id\&gt;/resourceGroups/\&lt;resource group\&gt;/providers/Microsoft.Compute/virtualMachines/\&lt;vm-name\&gt;'
200+
resourceId: '/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Compute/virtualMachines/<vm-name>'
201201
202202
},
203203
204204
{
205205
206206
name: 'azure portal'
207207
208-
address: '\&lt;URL\&gt;'
208+
address: '<URL>'
209209
210210
},
211211
212212
{
213213
214214
name: 'ip',
215215
216-
address: '\&lt;IP\&gt;'
216+
address: '<IP>'
217217
218218
}
219219
@@ -235,6 +235,8 @@ address: '\&lt;URL\&gt;'
235235
236236
name: 'Connectivty from Azure VM 1 to Azure VM 2',
237237
238+
// Choose your protocol
239+
238240
testConfigurations: ['http', 'https', 'tcpDisabled', 'icmpDisabled'],
239241
240242
sources: ['vm1'],
@@ -251,23 +253,23 @@ address: '\&lt;URL\&gt;'
251253
252254
name: 'http',
253255
254-
testFrequencySec: 60,
256+
testFrequencySec: <frequency>,
255257
256258
protocol: 'HTTP',
257259
258260
successThreshold: {
259261
260-
checksFailedPercent: 50,
262+
checksFailedPercent: <threshold for checks failed %>,
261263
262-
roundTripTimeMs: 3.4
264+
roundTripTimeMs: <threshold for RTT>
263265
264266
}
265267
266268
}, {
267269
268270
name: 'https',
269271
270-
testFrequencySec: 60,
272+
testFrequencySec: <frequency>,
271273
272274
protocol: 'HTTP',
273275
@@ -279,17 +281,17 @@ address: '\&lt;URL\&gt;'
279281
280282
successThreshold: {
281283
282-
checksFailedPercent: 50,
284+
checksFailedPercent: <choose your checks failed threshold>,
283285
284-
roundTripTimeMs: 3.4
286+
roundTripTimeMs: <choose your RTT threshold>
285287
286288
}
287289
288290
}, {
289291
290292
name: 'tcpEnabled',
291293
292-
testFrequencySec: 30,
294+
testFrequencySec: <frequency>,
293295
294296
protocol: 'TCP',
295297
@@ -301,33 +303,33 @@ address: '\&lt;URL\&gt;'
301303
302304
successThreshold: {
303305
304-
checksFailedPercent: 30,
306+
checksFailedPercent: <choose your checks failed threshold>,
305307
306-
roundTripTimeMs: 5.2
308+
roundTripTimeMs: <choose your RTT threshold>
307309
308310
}
309311
310312
}, {
311313
312314
name: 'icmpEnabled',
313315
314-
testFrequencySec: 90,
316+
testFrequencySec: <frequency>,
315317
316318
protocol: 'ICMP',
317319
318320
successThreshold: {
319321
320-
checksFailedPercent: 50,
322+
checksFailedPercent: <choose your checks failed threshold>,
321323
322-
roundTripTimeMs: 3.4
324+
roundTripTimeMs: <choose your RTT threshold>
323325
324326
}
325327
326328
}, {
327329
328330
name: 'icmpDisabled',
329331
330-
testFrequencySec: 120,
332+
testFrequencySec: <frequency>,
331333
332334
protocol: 'ICMP',
333335
@@ -339,17 +341,17 @@ address: '\&lt;URL\&gt;'
339341
340342
successThreshold: {
341343
342-
checksFailedPercent: 50,
344+
checksFailedPercent: <choose your checks failed threshold>,
343345
344-
roundTripTimeMs: 3.4
346+
roundTripTimeMs: <choose your RTT threshold>
345347
346348
}
347349
348350
}, {
349351
350352
name: 'tcpDisabled',
351353
352-
testFrequencySec: 45,
354+
testFrequencySec: <frequency>,
353355
354356
protocol: 'TCP',
355357
@@ -363,9 +365,9 @@ address: '\&lt;URL\&gt;'
363365
364366
successThreshold: {
365367
366-
checksFailedPercent: 30,
368+
checksFailedPercent: <choose your checks failed threshold>,
367369
368-
roundTripTimeMs: 5.2
370+
roundTripTimeMs: <choose your RTT threshold>
369371
370372
}
371373

0 commit comments

Comments
 (0)