From 45dc86d963f0fb8f60a283edc7e76b0d3e0a760c Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 15:20:30 +0800 Subject: [PATCH 01/21] Fix duplicate name --- .../stable/2020-10-20/myworkbooks_API.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json index 8e0eeb3f9050..32705a23b87b 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json @@ -322,7 +322,7 @@ "properties": { "identity": { "description": "Identity used for BYOS", - "$ref": "#/definitions/ManagedIdentity" + "$ref": "#/definitions/MyWorkbookManagedIdentity" }, "id": { "type": "string", @@ -512,11 +512,11 @@ } } }, - "ManagedIdentity": { + "MyWorkbookManagedIdentity": { "description": "Customer Managed Identity", "properties": { "userAssignedIdentities": { - "$ref": "#/definitions/UserAssignedIdentities" + "$ref": "#/definitions/MyWorkbookUserAssignedIdentities" }, "type": { "type": "string", @@ -528,7 +528,7 @@ } } }, - "UserAssignedIdentities": { + "MyWorkbookUserAssignedIdentities": { "description": "Customer Managed Identity", "properties": { "principalId": { From b8fa252e6520f4dc59fe90f15cd26f45f78e74d5 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 15:23:14 +0800 Subject: [PATCH 02/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 0f95a970a1a7..574d4c48eb89 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-preview-2020-10 +tag: package-2020-10-20 ``` ### Suppression From 3df90a9e6f1de1e727aa3d01221e898bf93fd48b Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 15:40:25 +0800 Subject: [PATCH 03/21] Update readme.md --- .../resource-manager/readme.md | 29 +++---------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 574d4c48eb89..93460d3f83cc 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -216,27 +216,6 @@ These settings apply only when `--tag=package-preview-2021-03-only` is specified input-file: - Microsoft.Insights/preview/2021-03-03-preview/diagnosticServicesToken_API.json ``` -### Tag: package-2020-02-12 - -These settings apply only when `--tag=package-2020-02-12` is specified on the command line. - -``` yaml $(tag) == 'package-2020-02-12' -input-file: - - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json - - Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json - - Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json - - Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json - - Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json - - Microsoft.Insights/stable/2015-05-01/components_API.json - - Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json - - Microsoft.Insights/stable/2015-05-01/favorites_API.json - - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - - Microsoft.Insights/stable/2015-05-01/webTests_API.json - - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - - Microsoft.Insights/stable/2020-10-20/workbooks_API.json - - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json -``` ### Tag: package-2020-10-20 @@ -244,6 +223,7 @@ These settings apply only when `--tag=package-2020-10-20` is specified on the co ``` yaml $(tag) == 'package-2020-10-20' input-file: + - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json - Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json @@ -257,14 +237,13 @@ input-file: - Microsoft.Insights/stable/2015-05-01/webTests_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json - - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json ``` -### Tag: package-preview-2020-10 +### Tag: package-preview-2020-10-only -These settings apply only when `--tag=package-preview-2020-10` is specified on the command line. +These settings apply only when `--tag=package-preview-2020-10-only` is specified on the command line. -```yaml $(tag) == 'package-preview-2020-10' +```yaml $(tag) == 'package-preview-2020-10-only' input-file: - Microsoft.Insights/preview/2020-10-05-preview/webTests_API.json ``` From bc49a5a31b1cea2e3c340263dc34c2dc093058fc Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 15:48:26 +0800 Subject: [PATCH 04/21] Update and rename workbookOperations_API.json to aiOperations_API.json --- .../{workbookOperations_API.json => aiOperations_API.json} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/{workbookOperations_API.json => aiOperations_API.json} (97%) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json similarity index 97% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json rename to specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json index 64553e8f509f..696bb3de114e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json @@ -1,8 +1,8 @@ { "swagger": "2.0", "info": { - "title": "WorkbookClient", - "description": "Azure client for Workbook.", + "title": "ApplicationInsightsManagementClient", + "description": "Azure Application Insights client for web test based alerting.", "version": "2020-10-20" }, "host": "management.azure.com", From 4a70061f2b9c08dc5af7b059508b5acf7caae3e4 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 15:53:37 +0800 Subject: [PATCH 05/21] Update readme.md --- .../applicationinsights/resource-manager/readme.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 93460d3f83cc..0af25449fc2b 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -223,7 +223,6 @@ These settings apply only when `--tag=package-2020-10-20` is specified on the co ``` yaml $(tag) == 'package-2020-10-20' input-file: - - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json - Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json @@ -235,6 +234,18 @@ input-file: - Microsoft.Insights/stable/2015-05-01/favorites_API.json - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - Microsoft.Insights/stable/2015-05-01/webTests_API.json + - Microsoft.Insights/stable/2020-10-20/aiOperations_API.json + - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json + - Microsoft.Insights/stable/2020-10-20/workbooks_API.json +``` + +### Tag: package-2020-10-only + +These settings apply only when `--tag=package-2020-10-only` is specified on the command line. + +```yaml $(tag) == 'package-2020-10-only' +input-file: + - Microsoft.Insights/stable/2020-10-20/aiOperations_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` From 07396d2d546a02d04dd1b04e3601107e7b8f07f7 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:00:52 +0800 Subject: [PATCH 06/21] Update workbooks_API.json --- .../stable/2020-10-20/workbooks_API.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json index 8535d2e992ce..990e8ddf964e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbooks_API.json @@ -334,7 +334,7 @@ "properties": { "identity": { "description": "Identity used for BYOS", - "$ref": "#/definitions/ManagedIdentity" + "$ref": "#/definitions/WorkbookManagedIdentity" }, "id": { "type": "string", @@ -577,11 +577,11 @@ } } }, - "ManagedIdentity": { + "WorkbookManagedIdentity": { "description": "Customer Managed Identity", "properties": { "userAssignedIdentities": { - "$ref": "#/definitions/UserAssignedIdentities" + "$ref": "#/definitions/WorkbookUserAssignedIdentities" }, "type": { "type": "string", @@ -593,7 +593,7 @@ } } }, - "UserAssignedIdentities": { + "WorkbookUserAssignedIdentities": { "description": "Customer Managed Identity", "properties": { "principalId": { From 16bc36c5eb0383e703288d63ee4d01dcf4f8e5e1 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:08:59 +0800 Subject: [PATCH 07/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 0af25449fc2b..4e4f289db402 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -245,7 +245,6 @@ These settings apply only when `--tag=package-2020-10-only` is specified on the ```yaml $(tag) == 'package-2020-10-only' input-file: - - Microsoft.Insights/stable/2020-10-20/aiOperations_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` From 74222d7fc868581937af1fb4a7c387bbca4b052a Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:28:49 +0800 Subject: [PATCH 08/21] Update readme.python.md --- .../resource-manager/readme.python.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index 913e69037551..eaad1ed7068d 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -35,6 +35,7 @@ batch: - tag: package-2020-02-02-preview - tag: package-2020-03-01-preview - tag: package-preview-2020-06-only + - tag: package-2020-10-only ``` ``` yaml $(python) && $(multiapi) && $(track2) batch: @@ -46,6 +47,7 @@ batch: - tag: package-2020-02-02-preview - tag: package-2020-03-01-preview - tag: package-preview-2020-06-only + - tag: package-2020-10-only - multiapiscript: true ``` @@ -166,3 +168,17 @@ python: namespace: azure.mgmt.applicationinsights.v2020_06_02_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview ``` + +### Tag: package-2020-10-only and python + +These settings apply only when `--tag=package-2020-10-only --python` is specified on the command line. + +``` yaml $(tag) == 'package-2020-10-only' && $(python) && !$(track2) +python: + namespace: azure.mgmt.applicationinsights.v2020_10_20 + output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_10_20 +``` +``` yaml $(tag) == 'package-2020-10-only' && $(python) && $(track2) +namespace: azure.mgmt.applicationinsights.v2020_10_20 +output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_10_20 +``` From b23304b9cd6793b4cf9fc887febe2a81e2a6da7f Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:37:30 +0800 Subject: [PATCH 09/21] Update readme.md --- .../resource-manager/readme.md | 118 +++++++++--------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 4e4f289db402..fc2882eba29d 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -217,6 +217,25 @@ input-file: - Microsoft.Insights/preview/2021-03-03-preview/diagnosticServicesToken_API.json ``` +### Tag: package-2020-10-only + +These settings apply only when `--tag=package-2020-10-only` is specified on the command line. + +```yaml $(tag) == 'package-2020-10-only' +input-file: + - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json + - Microsoft.Insights/stable/2020-10-20/workbooks_API.json +``` + +### Tag: package-preview-2020-10-only + +These settings apply only when `--tag=package-preview-2020-10-only` is specified on the command line. + +```yaml $(tag) == 'package-preview-2020-10-only' +input-file: + - Microsoft.Insights/preview/2020-10-05-preview/webTests_API.json +``` + ### Tag: package-2020-10-20 These settings apply only when `--tag=package-2020-10-20` is specified on the command line. @@ -239,25 +258,6 @@ input-file: - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` -### Tag: package-2020-10-only - -These settings apply only when `--tag=package-2020-10-only` is specified on the command line. - -```yaml $(tag) == 'package-2020-10-only' -input-file: - - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - - Microsoft.Insights/stable/2020-10-20/workbooks_API.json -``` - -### Tag: package-preview-2020-10-only - -These settings apply only when `--tag=package-preview-2020-10-only` is specified on the command line. - -```yaml $(tag) == 'package-preview-2020-10-only' -input-file: - - Microsoft.Insights/preview/2020-10-05-preview/webTests_API.json -``` - ### Tag: package-preview-2020-06-only These settings apply only when `--tag=package-preview-2020-06-only` is specified on the command line. @@ -291,20 +291,11 @@ input-file: - Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json ``` -### Tag: package-preview-2020-02 - -These settings apply only when `--tag=package-preview-2020-02` is specified on the command line. - -``` yaml $(tag) == 'package-preview-2020-02' -input-file: - - Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json -``` - -### Tag: package-2015-05 +### Tag: package-2020-04 -These settings apply only when `--tag=package-2015-05` is specified on the command line. +These settings apply only when `--tag=package-2020-04` is specified on the command line. For Dotnet SDK generation. -``` yaml $(tag) == 'package-2015-05' +``` yaml $(tag) == 'package-2020-04' input-file: - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json @@ -312,7 +303,6 @@ input-file: - Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json - Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json - Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json -- Microsoft.Insights/stable/2015-05-01/components_API.json - Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json - Microsoft.Insights/stable/2015-05-01/favorites_API.json - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json @@ -320,25 +310,35 @@ input-file: - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - Microsoft.Insights/stable/2015-05-01/workbooks_API.json - Microsoft.Insights/stable/2015-05-01/myworkbooks_API.json +- Microsoft.Insights/preview/2018-05-01-preview/components_API.json +- Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json ``` -### Tag: package-2017-10 +### Tag: package-2020-03-01-preview -These settings apply only when `--tag=package-2017-10` is specified on the command line. +These settings apply only when `--tag=package-2020-03-01-preview` is specified on the command line. -``` yaml $(tag) == 'package-2017-10' +``` yaml $(tag) == 'package-2020-03-01-preview' input-file: -- Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json -- Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json +- Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json ``` -### Tag: package-2018-06-17-preview +### Tag: package-preview-2020-02 -These settings apply only when `--tag=package-2018-06-17-preview` is specified on the command line. +These settings apply only when `--tag=package-preview-2020-02` is specified on the command line. -``` yaml $(tag) == 'package-2018-06-17-preview' +``` yaml $(tag) == 'package-preview-2020-02' input-file: -- Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json + - Microsoft.Insights/preview/2020-02-10-preview/WebTestResults_API.json +``` + +### Tag: package-2020-02-02-preview + +These settings apply only when `--tag=package-2020-02-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2020-02-02-preview' +input-file: +- Microsoft.Insights/preview/2020-02-02-preview/components_API.json ``` ### Tag: package-2019-10-17-preview @@ -350,39 +350,40 @@ input-file: - Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json ``` -### Tag: package-2018-05-01-preview +### Tag: package-2018-06-17-preview -These settings apply only when `--tag=package-2018-05-01-preview` is specified on the command line. +These settings apply only when `--tag=package-2018-06-17-preview` is specified on the command line. -``` yaml $(tag) == 'package-2018-05-01-preview' +``` yaml $(tag) == 'package-2018-06-17-preview' input-file: -- Microsoft.Insights/preview/2018-05-01-preview/componentProactiveDetection_API.json -- Microsoft.Insights/preview/2018-05-01-preview/components_API.json +- Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json ``` -### Tag: package-2020-02-02-preview +### Tag: package-2018-05-01-preview -These settings apply only when `--tag=package-2020-02-02-preview` is specified on the command line. +These settings apply only when `--tag=package-2018-05-01-preview` is specified on the command line. -``` yaml $(tag) == 'package-2020-02-02-preview' +``` yaml $(tag) == 'package-2018-05-01-preview' input-file: -- Microsoft.Insights/preview/2020-02-02-preview/components_API.json +- Microsoft.Insights/preview/2018-05-01-preview/componentProactiveDetection_API.json +- Microsoft.Insights/preview/2018-05-01-preview/components_API.json ``` -### Tag: package-2020-03-01-preview +### Tag: package-2017-10 -These settings apply only when `--tag=package-2020-03-01-preview` is specified on the command line. +These settings apply only when `--tag=package-2017-10` is specified on the command line. -``` yaml $(tag) == 'package-2020-03-01-preview' +``` yaml $(tag) == 'package-2017-10' input-file: -- Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json +- Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json +- Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json ``` -### Tag: package-2020-04 +### Tag: package-2015-05 -These settings apply only when `--tag=package-2020-04` is specified on the command line. For Dotnet SDK generation. +These settings apply only when `--tag=package-2015-05` is specified on the command line. -``` yaml $(tag) == 'package-2020-04' +``` yaml $(tag) == 'package-2015-05' input-file: - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json @@ -390,6 +391,7 @@ input-file: - Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json - Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json - Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json +- Microsoft.Insights/stable/2015-05-01/components_API.json - Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json - Microsoft.Insights/stable/2015-05-01/favorites_API.json - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json @@ -397,8 +399,6 @@ input-file: - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - Microsoft.Insights/stable/2015-05-01/workbooks_API.json - Microsoft.Insights/stable/2015-05-01/myworkbooks_API.json -- Microsoft.Insights/preview/2018-05-01-preview/components_API.json -- Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json ``` --- From 8e162b6a2072a9d798d3795d082bc7fae0e08c8c Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:44:52 +0800 Subject: [PATCH 10/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index fc2882eba29d..546bf4515f71 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -134,7 +134,7 @@ directive: from: workbooks_API.json reason: 'consistent with existing default error response' - suppress: DefaultErrorResponseSchema - from: workbookOperations_API.json + from: aiOperations_API.json reason: 'consistent with existing default error response' - suppress: RequiredDefaultResponse from: analyticsItems_API.json From fdac7c09f59fa62b5900ee85229dacbdc6d1da8d Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:46:46 +0800 Subject: [PATCH 11/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 546bf4515f71..fc2882eba29d 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -134,7 +134,7 @@ directive: from: workbooks_API.json reason: 'consistent with existing default error response' - suppress: DefaultErrorResponseSchema - from: aiOperations_API.json + from: workbookOperations_API.json reason: 'consistent with existing default error response' - suppress: RequiredDefaultResponse from: analyticsItems_API.json From a889375df20f7760c3f58f23bd408b886ee64069 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:47:05 +0800 Subject: [PATCH 12/21] Rename aiOperations_API.json to workbookOperations_API.json --- .../{aiOperations_API.json => workbookOperations_API.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/{aiOperations_API.json => workbookOperations_API.json} (100%) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json similarity index 100% rename from specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/aiOperations_API.json rename to specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json From 096ab690b561b28748a958bb277fa93d84d09a0b Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:48:14 +0800 Subject: [PATCH 13/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index fc2882eba29d..582685bc51df 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -253,9 +253,9 @@ input-file: - Microsoft.Insights/stable/2015-05-01/favorites_API.json - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - Microsoft.Insights/stable/2015-05-01/webTests_API.json - - Microsoft.Insights/stable/2020-10-20/aiOperations_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json + - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json ``` ### Tag: package-preview-2020-06-only From 5e8a136c8471d42585670215d25de38b0c111076 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 10:56:43 +0800 Subject: [PATCH 14/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 582685bc51df..dd827add27d9 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -242,6 +242,7 @@ These settings apply only when `--tag=package-2020-10-20` is specified on the co ``` yaml $(tag) == 'package-2020-10-20' input-file: + - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json - Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json @@ -255,7 +256,6 @@ input-file: - Microsoft.Insights/stable/2015-05-01/webTests_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json - - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json ``` ### Tag: package-preview-2020-06-only From 0e53a114dc94ca760d5d7cc7dbf7840a04bd9c63 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 14:39:56 +0800 Subject: [PATCH 15/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index dd827add27d9..95d44d1e5b45 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -206,6 +206,9 @@ directive: where: - $.definitions.DiagnosticServicesTokenResponse.properties.token reason: 'Secrets are OK to return in a POST response.' + - suppress: UNREFERENCED_JSON_FILE + from: workbookOperations_API.json + reason: 'Conflict with aiOperations_API.json and service is ready.' ``` ### Tag: package-preview-2021-03-only From 96895448abc94b47f4f75248b08c909bbdc33333 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 14:55:09 +0800 Subject: [PATCH 16/21] Update readme.md --- .../resource-manager/readme.md | 33 ++++++------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 95d44d1e5b45..541651672c49 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-10-20 +tag: package-preview-2020-06 ``` ### Suppression @@ -209,6 +209,14 @@ directive: - suppress: UNREFERENCED_JSON_FILE from: workbookOperations_API.json reason: 'Conflict with aiOperations_API.json and service is ready.' + - suppress: DefaultErrorResponseSchema + from: aiOperations_API + reason: 'consistent with existing default error response | owned by another team' + - suppress: OperationsApiResponseSchema + from: aiOperations_API + reason: 'consistent with existing response schema | owned by another team' + - suppress: RequiredReadOnlySystemData + ``` ### Tag: package-preview-2021-03-only @@ -226,6 +234,7 @@ These settings apply only when `--tag=package-2020-10-only` is specified on the ```yaml $(tag) == 'package-2020-10-only' input-file: + - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` @@ -239,28 +248,6 @@ input-file: - Microsoft.Insights/preview/2020-10-05-preview/webTests_API.json ``` -### Tag: package-2020-10-20 - -These settings apply only when `--tag=package-2020-10-20` is specified on the command line. - -``` yaml $(tag) == 'package-2020-10-20' -input-file: - - Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - - Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json - - Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json - - Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json - - Microsoft.Insights/stable/2015-05-01/componentContinuousExport_API.json - - Microsoft.Insights/stable/2015-05-01/componentFeaturesAndPricing_API.json - - Microsoft.Insights/stable/2015-05-01/componentProactiveDetection_API.json - - Microsoft.Insights/stable/2015-05-01/components_API.json - - Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json - - Microsoft.Insights/stable/2015-05-01/favorites_API.json - - Microsoft.Insights/stable/2015-05-01/webTestLocations_API.json - - Microsoft.Insights/stable/2015-05-01/webTests_API.json - - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - - Microsoft.Insights/stable/2020-10-20/workbooks_API.json -``` - ### Tag: package-preview-2020-06-only These settings apply only when `--tag=package-preview-2020-06-only` is specified on the command line. From 734e96c95233c28c4c1235cff1416b7828a7eee6 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 14:57:29 +0800 Subject: [PATCH 17/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 541651672c49..d31c97390d26 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -234,7 +234,6 @@ These settings apply only when `--tag=package-2020-10-only` is specified on the ```yaml $(tag) == 'package-2020-10-only' input-file: - - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` From b27f822eaa4579c1bc1c7a78d55f713b1c0f3e52 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 15:30:04 +0800 Subject: [PATCH 18/21] Update readme.md --- specification/applicationinsights/resource-manager/readme.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index d31c97390d26..b1504a836fa1 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -206,9 +206,6 @@ directive: where: - $.definitions.DiagnosticServicesTokenResponse.properties.token reason: 'Secrets are OK to return in a POST response.' - - suppress: UNREFERENCED_JSON_FILE - from: workbookOperations_API.json - reason: 'Conflict with aiOperations_API.json and service is ready.' - suppress: DefaultErrorResponseSchema from: aiOperations_API reason: 'consistent with existing default error response | owned by another team' @@ -234,6 +231,7 @@ These settings apply only when `--tag=package-2020-10-only` is specified on the ```yaml $(tag) == 'package-2020-10-only' input-file: + - Microsoft.Insights/stable/2020-10-20/workbookOperations_API.json - Microsoft.Insights/stable/2020-10-20/myworkbooks_API.json - Microsoft.Insights/stable/2020-10-20/workbooks_API.json ``` From 72e80816e9c0665684d9658b9cb1c1101084fa7c Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 16:44:22 +0800 Subject: [PATCH 19/21] Update specification/applicationinsights/resource-manager/readme.python.md --- .../resource-manager/readme.python.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index eaad1ed7068d..2f1993dd99ec 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -168,17 +168,3 @@ python: namespace: azure.mgmt.applicationinsights.v2020_06_02_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview ``` - -### Tag: package-2020-10-only and python - -These settings apply only when `--tag=package-2020-10-only --python` is specified on the command line. - -``` yaml $(tag) == 'package-2020-10-only' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2020_10_20 - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_10_20 -``` -``` yaml $(tag) == 'package-2020-10-only' && $(python) && $(track2) -namespace: azure.mgmt.applicationinsights.v2020_10_20 -output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_10_20 -``` From 685a32eb59c58b700e573285ecfbc7a51811347a Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 16:44:28 +0800 Subject: [PATCH 20/21] Update specification/applicationinsights/resource-manager/readme.python.md --- .../applicationinsights/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index 2f1993dd99ec..ac7a8a9615c9 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -47,7 +47,6 @@ batch: - tag: package-2020-02-02-preview - tag: package-2020-03-01-preview - tag: package-preview-2020-06-only - - tag: package-2020-10-only - multiapiscript: true ``` From 945bbc673a28c374116df89c4113b5fea742566b Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Sun, 25 Apr 2021 16:44:34 +0800 Subject: [PATCH 21/21] Update specification/applicationinsights/resource-manager/readme.python.md --- .../applicationinsights/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index ac7a8a9615c9..913e69037551 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -35,7 +35,6 @@ batch: - tag: package-2020-02-02-preview - tag: package-2020-03-01-preview - tag: package-preview-2020-06-only - - tag: package-2020-10-only ``` ``` yaml $(python) && $(multiapi) && $(track2) batch: