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": { 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/workbookOperations_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/workbookOperations_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", 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": { diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 0f95a970a1a7..b1504a836fa1 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-preview-2020-06 ``` ### Suppression @@ -206,6 +206,14 @@ directive: where: - $.definitions.DiagnosticServicesTokenResponse.properties.token reason: 'Secrets are OK to return in a POST response.' + - 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 @@ -216,55 +224,23 @@ 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 +### Tag: package-2020-10-only -These settings apply only when `--tag=package-2020-10-20` is specified on the command line. +These settings apply only when `--tag=package-2020-10-only` is specified on the command line. -``` yaml $(tag) == 'package-2020-10-20' +```yaml $(tag) == 'package-2020-10-only' 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/workbookOperations_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 ``` @@ -302,20 +278,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 @@ -323,7 +290,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 @@ -331,25 +297,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 @@ -361,39 +337,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 @@ -401,6 +378,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 @@ -408,8 +386,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 ``` ---