Skip to content

Commit 13bce11

Browse files
authored
Update tutorial-logs-ingestion-api.md
1 parent 917cb51 commit 13bce11

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/azure-monitor/logs/tutorial-logs-ingestion-api.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ The [DCR](../essentials/data-collection-rule-overview.md) defines how the data w
224224

225225
```json
226226
{
227-
"$schema": "https://schema.management.azure.com/schemas/2023-03-11/deploymentTemplate.json#",
227+
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#",
228228
"contentVersion": "1.0.0.0",
229229
"parameters": {
230230
"dataCollectionRuleName": {
@@ -244,20 +244,14 @@ The [DCR](../essentials/data-collection-rule-overview.md) defines how the data w
244244
"metadata": {
245245
"description": "Specifies the Azure resource ID of the Log Analytics workspace to use."
246246
}
247-
},
248-
"endpointResourceId": {
249-
"type": "string",
250-
"metadata": {
251-
"description": "Specifies the Azure resource ID of the Data Collection Endpoint to use."
252-
}
253247
}
254248
},
255249
"resources": [
256250
{
257251
"type": "Microsoft.Insights/dataCollectionRules",
258252
"name": "[parameters('dataCollectionRuleName')]",
259253
"location": "[parameters('location')]",
260-
"apiVersion": "2021-09-01-preview",
254+
"apiVersion": "2023-03-11",
261255
"properties": {
262256
"streamDeclarations": {
263257
"Custom-MyTableRawData": {
@@ -328,7 +322,7 @@ The [DCR](../essentials/data-collection-rule-overview.md) defines how the data w
328322

329323
```json
330324
{
331-
"$schema": "https://schema.management.azure.com/schemas/2023-03-11/deploymentTemplate.json#",
325+
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#",
332326
"contentVersion": "1.0.0.0",
333327
"parameters": {
334328
"dataCollectionRuleName": {
@@ -348,14 +342,20 @@ The [DCR](../essentials/data-collection-rule-overview.md) defines how the data w
348342
"metadata": {
349343
"description": "Specifies the Azure resource ID of the Log Analytics workspace to use."
350344
}
345+
},
346+
"endpointResourceId": {
347+
"type": "string",
348+
"metadata": {
349+
"description": "Specifies the Azure resource ID of the Data Collection Endpoint to use."
350+
}
351351
}
352352
},
353353
"resources": [
354354
{
355355
"type": "Microsoft.Insights/dataCollectionRules",
356356
"name": "[parameters('dataCollectionRuleName')]",
357357
"location": "[parameters('location')]",
358-
"apiVersion": "2021-09-01-preview",
358+
"apiVersion": "2023-03-11",
359359
"properties": {
360360
"dataCollectionEndpointId": "[parameters('endpointResourceId')]",
361361
"streamDeclarations": {

0 commit comments

Comments
 (0)