From f71cbebe3418a0cb6e9f29f50612db457752d3e0 Mon Sep 17 00:00:00 2001 From: Adriana Galer Rotaru Date: Tue, 1 Feb 2022 15:39:19 -0500 Subject: [PATCH 1/2] Adding x-ms-ids for Application Insights --- .../stable/2021-03-08/workbookOperations_API.json | 7 +++++++ .../applicationinsights/resource-manager/readme.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbookOperations_API.json index abcf9a510a93..1fd1a4d70e32 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbookOperations_API.json @@ -90,6 +90,10 @@ "items": { "$ref": "#/definitions/ErrorFieldContract" }, + "x-ms-identifiers": [ + "message", + "target" + ], "description": "The list of invalid fields send in request, in case of validation error." } } @@ -146,6 +150,9 @@ "items": { "$ref": "#/definitions/Operation" }, + "x-ms-identifiers": [ + "name" + ], "description": "List of Workbook operations supported by the Microsoft.Insights resource provider." }, "nextLink": { diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index ed7bef93c90c..1ca6c0d0d0f2 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -28,7 +28,7 @@ These are the global settings for the ApplicationInsights API. title: ApplicationInsightsManagementClient description: Composite Swagger for Application Insights Management Client openapi-type: arm -tag: package-2020-11-only +tag: package-2021-03-only ``` ### Suppression From 281ec26d365c2824d36e5572bc79b60bdabbc1b6 Mon Sep 17 00:00:00 2001 From: Adriana Galer Rotaru Date: Thu, 3 Feb 2022 13:17:36 -0500 Subject: [PATCH 2/2] Corrections from rebasing --- .../stable/2015-05-01/aiOperations_API.json | 3 +++ .../2015-05-01/componentAnnotations_API.json | 3 +++ .../componentContinuousExport_API.json | 5 ++++- .../componentFeaturesAndPricing_API.json | 6 ++++++ .../componentProactiveDetection_API.json | 5 ++++- .../componentWorkItemConfigs_API.json | 3 +++ .../2015-05-01/webTestLocations_API.json | 5 ++++- .../stable/2015-05-01/webTests_API.json | 11 +++++++---- .../stable/2020-02-02/components_API.json | 6 +++++- .../2020-11-20/workbookTemplates_API.json | 19 ++++++++++++++++--- .../stable/2021-10-14/livetoken_API.json | 17 ++++++++++------- .../resource-manager/readme.md | 2 +- 12 files changed, 66 insertions(+), 19 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json index c71db9292334..213d72fd31cd 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json @@ -116,6 +116,9 @@ "items": { "$ref": "#/definitions/Operation" }, + "x-ms-identifiers": [ + "name" + ], "description": "List of CDN operations supported by the CDN resource provider." }, "nextLink": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json index bb5b9116c39c..b62023e79731 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json @@ -249,6 +249,9 @@ "items": { "$ref": "#/definitions/Annotation" }, + "x-ms-identifiers": [ + "Id" + ], "description": "An array of annotations." } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json index ef0d51e98d36..8a6d1621a925 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json @@ -269,7 +269,10 @@ "type": "array", "items": { "$ref": "#/definitions/ApplicationInsightsComponentExportConfiguration" - } + }, + "x-ms-identifiers": [ + "ExportId" + ] }, "ApplicationInsightsComponentExportConfiguration": { "description": "Properties that define a Continuous Export configuration.", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json index b141ef967b0f..bcf1d4178c30 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json @@ -374,6 +374,9 @@ "type": "object", "$ref": "#/definitions/ApplicationInsightsComponentFeature" }, + "x-ms-identifiers": [ + "FeatureName" + ], "readOnly": true, "description": "A list of Application Insights component feature." } @@ -414,6 +417,9 @@ "type": "object", "$ref": "#/definitions/ApplicationInsightsComponentFeatureCapability" }, + "x-ms-identifiers": [ + "Name" + ], "readOnly": true, "description": "A list of Application Insights component feature capability." }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json index 967bc3168689..117a2f2455b2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json @@ -153,7 +153,10 @@ "type": "array", "items": { "$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfiguration" - } + }, + "x-ms-identifiers": [ + "Name" + ] }, "ApplicationInsightsComponentProactiveDetectionConfiguration": { "description": "Properties that define a ProactiveDetection configuration.", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json index d018d4f8d6a3..2b4d84c7c9e0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json @@ -295,6 +295,9 @@ "items": { "$ref": "#/definitions/WorkItemConfiguration" }, + "x-ms-identifiers": [ + "Id" + ], "description": "An array of work item configurations." } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json index 89279d98d2ab..4bd27dac7d5c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json @@ -83,7 +83,10 @@ "description": "List of web test locations.", "items": { "$ref": "#/definitions/ApplicationInsightsComponentWebTestLocation" - } + }, + "x-ms-identifiers": [ + "DisplayName" + ] } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json index d2accdc7df35..9809ea6af92d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/webTests_API.json @@ -200,11 +200,11 @@ } ], "responses": { - "204": { - "description": "No content: the request was successful, but the response is empty (the request to delete failed because the specified web test does not exist)." - }, "200": { "description": "Successful request to delete a web test definition." + }, + "204": { + "description": "No content: the request was successful, but the response is empty (the request to delete failed because the specified web test does not exist)." } }, "x-ms-examples": { @@ -439,7 +439,10 @@ "description": "A list of where to physically run the tests from to give global coverage for accessibility of your application.", "items": { "$ref": "#/definitions/WebTestGeolocation" - } + }, + "x-ms-identifiers": [ + "Id" + ] }, "Configuration": { "type": "object", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json index 8b7c68c31127..9f368930e03f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/components_API.json @@ -598,6 +598,9 @@ "items": { "$ref": "#/definitions/PrivateLinkScopedResource" }, + "x-ms-identifiers": [ + "ScopeId" + ], "description": "List of linked private link scope resources." }, "publicNetworkAccessForIngestion": { @@ -683,7 +686,8 @@ "description": "The set of columns and filters (queries) to run over them to purge the resulting data.", "items": { "$ref": "#/definitions/ComponentPurgeBodyFilters" - } + }, + "x-ms-identifiers": [] } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/workbookTemplates_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/workbookTemplates_API.json index 67f063f7dd1b..7847be47892b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/workbookTemplates_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/workbookTemplates_API.json @@ -340,7 +340,11 @@ "description": "Workbook galleries supported by the template.", "items": { "$ref": "#/definitions/WorkbookTemplateGallery" - } + }, + "x-ms-identifiers": [ + "name", + "type" + ] }, "localized": { "type": "object", @@ -349,7 +353,8 @@ "type": "array", "items": { "$ref": "#/definitions/WorkbookTemplateLocalizedGallery" - } + }, + "x-ms-identifiers": [] } } } @@ -392,7 +397,11 @@ "description": "Workbook galleries supported by the template.", "items": { "$ref": "#/definitions/WorkbookTemplateGallery" - } + }, + "x-ms-identifiers": [ + "name", + "type" + ] } } }, @@ -455,6 +464,10 @@ "items": { "$ref": "#/definitions/WorkbookTemplateErrorFieldContract" }, + "x-ms-identifiers": [ + "message", + "target" + ], "description": "The list of invalid fields send in request, in case of validation error." } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-10-14/livetoken_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-10-14/livetoken_API.json index 53c95ded009f..0108d90fdc38 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-10-14/livetoken_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-10-14/livetoken_API.json @@ -52,12 +52,6 @@ } ], "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json#/definitions/ErrorResponseLinkedStorage" - } - }, "200": { "description": "Successful response containing the live metrics stream token.", "schema": { @@ -68,6 +62,12 @@ "liveToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" } } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json#/definitions/ErrorResponseLinkedStorage" + } } }, "x-ms-examples": { @@ -99,7 +99,10 @@ "type": "array", "items": { "$ref": "#/definitions/OperationLive" - } + }, + "x-ms-identifiers": [ + "name" + ] }, "nextLink": { "type": "string", diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index cbb69c5c7e8d..b3921df56dd9 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -38,7 +38,7 @@ These are the global settings for the ApplicationInsights API. title: ApplicationInsightsManagementClient description: Composite Swagger for Application Insights Management Client openapi-type: arm -tag: package-2021-03-only +tag: package-2022-01-11 ``` ### Suppression