From 3d2e1dcd4d246bb6652cbd6daea8a237fafbdb1f Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 31 May 2020 11:47:52 +0300 Subject: [PATCH 1/3] IngestionMode Flag --- .../2018-05-01-preview/components_API.json | 15 ++++++++++++++- .../examples/ComponentsCreate.json | 6 ++++-- .../examples/ComponentsGet.json | 3 ++- .../examples/ComponentsList.json | 6 ++++-- .../examples/ComponentsListByResourceGroup.json | 6 ++++-- .../examples/ComponentsUpdate.json | 6 ++++-- .../examples/ComponentsUpdateTagsOnly.json | 6 ++++-- .../2020-02-02-preview/components_API.json | 15 ++++++++++++++- .../examples/ComponentsCreate.json | 3 ++- .../examples/ComponentsGet.json | 3 ++- .../examples/ComponentsList.json | 6 ++++-- .../examples/ComponentsListByResourceGroup.json | 6 ++++-- .../examples/ComponentsUpdate.json | 3 ++- .../examples/ComponentsUpdateTagsOnly.json | 3 ++- .../stable/2015-05-01/components_API.json | 15 ++++++++++++++- .../2015-05-01/examples/ComponentsCreate.json | 3 ++- .../stable/2015-05-01/examples/ComponentsGet.json | 3 ++- .../2015-05-01/examples/ComponentsList.json | 6 ++++-- .../examples/ComponentsListByResourceGroup.json | 6 ++++-- .../2015-05-01/examples/ComponentsUpdate.json | 3 ++- .../examples/ComponentsUpdateTagsOnly.json | 3 ++- 21 files changed, 96 insertions(+), 30 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json index fc10d313cfce..4fca1c6b2fae 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json @@ -532,7 +532,20 @@ "publicNetworkAccessForQuery": { "description": "The network access type for accessing Application Insights query.", "$ref": "#/definitions/PublicNetworkAccessType" - } + }, + "IngestionMode": { + "type": "string", + "description": "Indicates the flow of the ingestion.", + "default": "ApplicationInsights", + "enum": [ + "ApplicationInsights", + "ApplicationInsightsWithDignosticSettings", + "LogAnalytics" + ], + "x-ms-enum": { + "name": "IngestionMode", + "modelAsString": true + } }, "required": [ "Application_Type" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsCreate.json index 17a28fdee20e..70a74516f4e0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsCreate.json @@ -41,7 +41,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } }, @@ -71,7 +72,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsGet.json index 3ace22b9672d..68d5f62719a7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsGet.json @@ -32,7 +32,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsList.json index 281a057d8188..d9790161b4a4 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsList.json @@ -32,7 +32,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } }, { @@ -60,7 +61,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsListByResourceGroup.json index cee24e3764c9..8a34e64eb8a2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsListByResourceGroup.json @@ -33,7 +33,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } }, { @@ -61,7 +62,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdate.json index b9df659a3d3f..30c8ce16a5e9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdate.json @@ -43,7 +43,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } }, @@ -76,7 +77,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdateTagsOnly.json index 9d8d07877055..911c023ab0a9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdateTagsOnly.json @@ -47,7 +47,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } }, @@ -83,7 +84,8 @@ "DisableIpMasking": false, "ImmediatePurgeDataOn30Days": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "ApplicationInsights" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json index 71cb6350a36c..befb027f859f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json @@ -524,7 +524,20 @@ "publicNetworkAccessForQuery": { "description": "The network access type for accessing Application Insights query.", "$ref": "#/definitions/PublicNetworkAccessType" - } + }, + "IngestionMode": { + "type": "string", + "description": "Indicates the flow of the ingestion.", + "default": "LogAnalytics", + "enum": [ + "ApplicationInsights", + "ApplicationInsightsWithDignosticSettings", + "LogAnalytics" + ], + "x-ms-enum": { + "name": "IngestionMode", + "modelAsString": true + } }, "required": [ "Application_Type", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsCreate.json index b60e0da5861a..fbc47f63d6ab 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsCreate.json @@ -41,7 +41,8 @@ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsGet.json index 8dc5e137725f..bbb10c0b9ceb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsGet.json @@ -31,7 +31,8 @@ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsList.json index 1a0e3d80e2eb..e1b8fef73125 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsList.json @@ -31,7 +31,8 @@ "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } }, { @@ -58,7 +59,8 @@ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsListByResourceGroup.json index 93423a2b9955..26738b90bc39 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsListByResourceGroup.json @@ -32,7 +32,8 @@ "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } }, { @@ -59,7 +60,8 @@ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdate.json index e02186407ca7..bb68a86b7bfb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdate.json @@ -42,7 +42,8 @@ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdateTagsOnly.json index 806476c3cf96..7ca0781617d0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/examples/ComponentsUpdateTagsOnly.json @@ -46,7 +46,8 @@ "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, "publicNetworkAccessForQuery": "Enabled", - "publicNetworkAccessForIngestion": "Enabled" + "publicNetworkAccessForIngestion": "Enabled", + "IngestionMode": "LogAnalytics" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json index 507d3910d1b1..c1faf05c16f3 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json @@ -512,7 +512,20 @@ "$ref": "#/definitions/PrivateLinkScopedResource" }, "description": "List of linked private link scope resources." - } + }, + "IngestionMode": { + "type": "string", + "description": "Indicates the flow of the ingestion.", + "default": "ApplicationInsights", + "enum": [ + "ApplicationInsights", + "ApplicationInsightsWithDignosticSettings", + "LogAnalytics" + ], + "x-ms-enum": { + "name": "IngestionMode", + "modelAsString": true + } }, "required": [ "Application_Type" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json index a2603e240382..88bcfebb39ce 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsCreate.json @@ -39,7 +39,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json index ea7eb18ea7d0..c00693fd1988 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsGet.json @@ -30,7 +30,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json index ccb105e6cac0..3b8fbf90a8ee 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsList.json @@ -30,7 +30,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } }, { @@ -56,7 +57,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json index dc9c2b395132..92bc4f1c5498 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsListByResourceGroup.json @@ -31,7 +31,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=dc5931c7-a7ad-4ad0-89d6-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } }, { @@ -57,7 +58,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json index ac92ef81e926..9ab62afd13e7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdate.json @@ -41,7 +41,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json index 3487365d9a29..8bbbfec88eb7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ComponentsUpdateTagsOnly.json @@ -45,7 +45,8 @@ "RetentionInDays": 90, "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc", "DisableIpMasking": false, - "ImmediatePurgeDataOn30Days": false + "ImmediatePurgeDataOn30Days": false, + "IngestionMode": "ApplicationInsights" } } } From e245f8bcdadb0ee59c22579136aa0f8fdeeb62a6 Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 31 May 2020 13:00:27 +0300 Subject: [PATCH 2/3] fix for missing bracket --- .../preview/2018-05-01-preview/components_API.json | 1 + .../preview/2020-02-02-preview/components_API.json | 1 + .../Microsoft.Insights/stable/2015-05-01/components_API.json | 1 + 3 files changed, 3 insertions(+) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json index 4fca1c6b2fae..3fa3b301e622 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json @@ -546,6 +546,7 @@ "name": "IngestionMode", "modelAsString": true } + } }, "required": [ "Application_Type" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json index befb027f859f..a60d948e859c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json @@ -538,6 +538,7 @@ "name": "IngestionMode", "modelAsString": true } + } }, "required": [ "Application_Type", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json index c1faf05c16f3..281de96caae1 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json @@ -526,6 +526,7 @@ "name": "IngestionMode", "modelAsString": true } + } }, "required": [ "Application_Type" From 806f2f0d6290b364a7445995405230cd645b4078 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 1 Jun 2020 09:47:47 +0300 Subject: [PATCH 3/3] diganostic with an A --- .../preview/2018-05-01-preview/components_API.json | 2 +- .../preview/2020-02-02-preview/components_API.json | 2 +- .../Microsoft.Insights/stable/2015-05-01/components_API.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json index 3fa3b301e622..8ba066afb183 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/components_API.json @@ -539,7 +539,7 @@ "default": "ApplicationInsights", "enum": [ "ApplicationInsights", - "ApplicationInsightsWithDignosticSettings", + "ApplicationInsightsWithDiagnosticSettings", "LogAnalytics" ], "x-ms-enum": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json index a60d948e859c..c8606af89280 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json @@ -531,7 +531,7 @@ "default": "LogAnalytics", "enum": [ "ApplicationInsights", - "ApplicationInsightsWithDignosticSettings", + "ApplicationInsightsWithDiagnosticSettings", "LogAnalytics" ], "x-ms-enum": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json index 281de96caae1..73eb9e993907 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json @@ -519,7 +519,7 @@ "default": "ApplicationInsights", "enum": [ "ApplicationInsights", - "ApplicationInsightsWithDignosticSettings", + "ApplicationInsightsWithDiagnosticSettings", "LogAnalytics" ], "x-ms-enum": {