Skip to content

Commit c373582

Browse files
authored
Merge pull request #112210 from yossi-y/patch-79
Fixed the types for sub resources
2 parents 3b74c29 + 9016438 commit c373582

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/azure-monitor/platform/template-workspace-configuration.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ The following template sample illustrates how to:
313313
{
314314
"apiVersion": "2015-03-20",
315315
"name": "VMSS Queries2",
316-
"type": "Microsoft.OperationalInsights/workspaces/savedSearches",
316+
"type": "savedSearches",
317317
"dependsOn": [
318318
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
319319
],
@@ -328,7 +328,7 @@ The following template sample illustrates how to:
328328
{
329329
"apiVersion": "2017-04-26-preview",
330330
"name": "Cross workspace function",
331-
"type": "Microsoft.OperationalInsights/workspaces/savedSearches",
331+
"type": "savedSearches",
332332
"dependsOn": [
333333
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
334334
],
@@ -347,7 +347,7 @@ The following template sample illustrates how to:
347347
},
348348
{
349349
"apiVersion": "2015-11-01-preview",
350-
"type": "Microsoft.OperationalInsights/workspaces/datasources",
350+
"type": "datasources",
351351
"name": "sampleWindowsEvent1",
352352
"dependsOn": [
353353
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
@@ -367,7 +367,7 @@ The following template sample illustrates how to:
367367
},
368368
{
369369
"apiVersion": "2015-11-01-preview",
370-
"type": "Microsoft.OperationalInsights/workspaces/datasources",
370+
"type": "datasources",
371371
"name": "sampleWindowsPerfCounter1",
372372
"dependsOn": [
373373
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
@@ -382,7 +382,7 @@ The following template sample illustrates how to:
382382
},
383383
{
384384
"apiVersion": "2015-11-01-preview",
385-
"type": "Microsoft.OperationalInsights/workspaces/datasources",
385+
"type": "datasources",
386386
"name": "sampleIISLog1",
387387
"dependsOn": [
388388
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
@@ -394,7 +394,7 @@ The following template sample illustrates how to:
394394
},
395395
{
396396
"apiVersion": "2015-11-01-preview",
397-
"type": "Microsoft.OperationalInsights/workspaces/datasources",
397+
"type": "datasources",
398398
"name": "sampleSyslog1",
399399
"dependsOn": [
400400
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
@@ -423,7 +423,7 @@ The following template sample illustrates how to:
423423
},
424424
{
425425
"apiVersion": "2015-11-01-preview",
426-
"type": "Microsoft.OperationalInsights/workspaces/datasources",
426+
"type": "datasources",
427427
"name": "sampleSyslogCollection1",
428428
"dependsOn": [
429429
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
@@ -435,7 +435,7 @@ The following template sample illustrates how to:
435435
},
436436
{
437437
"apiVersion": "2015-11-01-preview",
438-
"type": "Microsoft.OperationalInsights/workspaces/datasources",
438+
"type": "datasources",
439439
"name": "sampleLinuxPerf1",
440440
"dependsOn": [
441441
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
@@ -469,7 +469,7 @@ The following template sample illustrates how to:
469469
},
470470
{
471471
"apiVersion": "2015-11-01-preview",
472-
"type": "Microsoft.OperationalInsights/workspaces/dataSources",
472+
"type": "dataSources",
473473
"name": "[concat(parameters('workspaceName'), parameters('customLogName'))]",
474474
"dependsOn": [
475475
"[concat('Microsoft.OperationalInsights/workspaces/', '/', parameters('workspaceName'))]"
@@ -518,7 +518,7 @@ The following template sample illustrates how to:
518518
},
519519
{
520520
"apiVersion": "2015-11-01-preview",
521-
"type": "Microsoft.OperationalInsights/workspaces/datasources",
521+
"type": "datasources",
522522
"name": "sampleLinuxPerfCollection1",
523523
"dependsOn": [
524524
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
@@ -531,7 +531,7 @@ The following template sample illustrates how to:
531531
{
532532
"apiVersion": "2015-03-20",
533533
"name": "[concat(parameters('applicationDiagnosticsStorageAccountName'),parameters('workspaceName'))]",
534-
"type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs",
534+
"type": "storageinsightconfigs",
535535
"dependsOn": [
536536
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
537537
],

0 commit comments

Comments
 (0)