From 383e194ca6bfcff6f019c645a4c44f067e1a081b Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 4 Aug 2021 17:07:47 -0700 Subject: [PATCH 01/24] set default tag to package-2021-03-only --- 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 7d16982291bc..2d86c5b820d1 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 cda75ed688eec206986a566801a86857a9a6c070 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Thu, 5 Aug 2021 09:56:07 -0700 Subject: [PATCH 02/24] new default tag and add only workbooks to release --- .../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 2d86c5b820d1..67e8e2f79889 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-2021-03-only +tag: package-2021-07-only ``` ### Suppression @@ -222,6 +222,17 @@ directive: ``` +### Tag: package-2021-07-only + +These settings apply only when `--tag=package-2021-07-only` is specified on the command line. + +``` yaml $(tag) == 'package-2021-07-only' +input-file: + - Microsoft.Insights/stable/2021-03-08/workbooks_API.json + - Microsoft.Insights/stable/2021-03-08/workbookOperations_API.json + - Microsoft.Insights/stable/2020-11-20/workbookTemplates_API.json +``` + ### Tag: package-2021-03-only These settings apply only when `--tag=package-2021-03-only` is specified on the command line. From d6ee3334c33ad7462ee215075ad43d1123822c59 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 11 Aug 2021 23:06:25 -0700 Subject: [PATCH 03/24] update package tag with same RP as last package --- .../resource-manager/readme.md | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 67e8e2f79889..352d3a8ee30e 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-2021-07-only +tag: package-preview-2021-07 ``` ### Suppression @@ -224,13 +224,27 @@ directive: ### Tag: package-2021-07-only -These settings apply only when `--tag=package-2021-07-only` is specified on the command line. +These settings apply only when `--tag=package-preview-2021-07` is specified on the command line. -``` yaml $(tag) == 'package-2021-07-only' +``` yaml $(tag) == 'package-preview-2021-07' input-file: + - Microsoft.Insights/stable/2015-05-01/aiOperations_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/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/2015-05-01/analyticsItems_API.json - Microsoft.Insights/stable/2021-03-08/workbooks_API.json - - Microsoft.Insights/stable/2021-03-08/workbookOperations_API.json + - Microsoft.Insights/stable/2021-03-08/myworkbooks_API.json - Microsoft.Insights/stable/2020-11-20/workbookTemplates_API.json + - Microsoft.Insights/preview/2018-05-01-preview/components_API.json + - Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json + - Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json ``` ### Tag: package-2021-03-only From 2df0d3a2857bf80b7423d42f8df35e4afd5c9a88 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 11 Aug 2021 23:31:31 -0700 Subject: [PATCH 04/24] update tag name --- 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 352d3a8ee30e..30da6058a4db 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -222,7 +222,7 @@ directive: ``` -### Tag: package-2021-07-only +### Tag: package-preview-2021-07 These settings apply only when `--tag=package-preview-2021-07` is specified on the command line. From 3dc8341837bbf2363b6d198970b787b9d9cfce70 Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Thu, 12 Aug 2021 17:13:06 +0800 Subject: [PATCH 05/24] Update readme.python.md --- .../resource-manager/readme.python.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index 7a82c19ac38b..6fb779cf5856 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -25,6 +25,7 @@ batch: - tag: package-2020-02-02 - tag: package-2020-03-01-preview - tag: package-preview-2020-06-only + - tag: package-2021-03-only - multiapiscript: true ``` @@ -34,6 +35,15 @@ clear-output-folder: false perform-load: false ``` +### Tag: package-2021-03-only and python + +These settings apply only when `--tag=package-2021-03-only --python` is specified on the command line. + +``` yaml $(tag) == 'package-2021-03-only' && $(python) && $(track2) +namespace: azure.mgmt.applicationinsights.v2021_03_08 +output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2021_03_08 +``` + ### Tag: package-2015-05 and python These settings apply only when `--tag=package-2015-05 --python` is specified on the command line. @@ -108,4 +118,4 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi ```yaml $(python) && $(track2) modelerfour: lenient-model-deduplication: true -``` \ No newline at end of file +``` From d2009a73f20cd2d81fc296cf5fe4afc398f856b0 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Tue, 24 Aug 2021 16:18:10 -0700 Subject: [PATCH 06/24] change definition name --- .../Microsoft.Insights/stable/2021-03-08/workbooks_API.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json index 1b6848a9216c..48ea0f2323bb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json @@ -417,7 +417,7 @@ } }, "definitions": { - "Resource": { + "WorkbooksResource": { "properties": { "identity": { "description": "Identity used for BYOS", @@ -491,7 +491,7 @@ "description": "An Application Insights workbook definition.", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/WorkbooksResource" } ], "properties": { From 488f0d633f1a6745226ef13a50ff8beb2d5fb6d3 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Tue, 24 Aug 2021 16:20:45 -0700 Subject: [PATCH 07/24] remove operations --- 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 30da6058a4db..268b1dfeb240 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -228,7 +228,6 @@ These settings apply only when `--tag=package-preview-2021-07` is specified on t ``` yaml $(tag) == 'package-preview-2021-07' input-file: - - Microsoft.Insights/stable/2015-05-01/aiOperations_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 From d94f8a348e559057bf283b26b4c7ab982162cb6e Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Thu, 26 Aug 2021 22:31:13 -0700 Subject: [PATCH 08/24] fix missingtypeobject in workbooks --- .../Microsoft.Insights/stable/2021-03-08/workbooks_API.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json index 48ea0f2323bb..4d4571d0781e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json @@ -418,6 +418,7 @@ }, "definitions": { "WorkbooksResource": { + "type":"object", "properties": { "identity": { "description": "Identity used for BYOS", @@ -456,12 +457,14 @@ ] }, "tags": { + "type":"object", "additionalProperties": { "type": "string" }, "description": "Resource tags" }, "etag": { + "type":"object", "additionalProperties": { "type": "string" }, @@ -472,6 +475,7 @@ "description": "An azure resource object" }, "WorkbooksListResult": { + "type":"object", "properties": { "value": { "type": "array", @@ -488,6 +492,7 @@ "description": "Workbook list result." }, "Workbook": { + "type":"object", "description": "An Application Insights workbook definition.", "allOf": [ { From 4775f65708a9b4a26e682d0afee92f7f1ec0e142 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Thu, 2 Sep 2021 10:32:51 -0700 Subject: [PATCH 09/24] fix up model validation errors --- .../2021-03-08/examples/WorkbookAdd.json | 26 +++++++++--------- .../2021-03-08/examples/WorkbookGet.json | 8 +++--- .../2021-03-08/examples/WorkbookGet1.json | 8 +++--- .../examples/WorkbookManagedAdd.json | 27 +++++-------------- .../examples/WorkbookManagedGet.json | 14 ++-------- .../examples/WorkbookManagedUpdate.json | 24 ++++------------- .../examples/WorkbookRevisionGet.json | 10 +++---- .../2021-03-08/examples/WorkbookUpdate.json | 16 +++++------ .../stable/2021-03-08/workbooks_API.json | 10 +++---- 9 files changed, 52 insertions(+), 91 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json index daed083d4b6c..c338ad461112 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json @@ -16,11 +16,11 @@ "category": "workbook", "description": "Sample workbook" }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + } + } }, "responses": { "200": { @@ -41,10 +41,10 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb" }, - "tags": [ - "TagSample01", - "TagSample02" - ] + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + } } }, "201": { @@ -65,10 +65,10 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb" }, - "tags": [ - "TagSample01", - "TagSample02" - ] + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + } } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json index cfd0adde20c0..590408edc5b5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json @@ -24,10 +24,10 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb" }, - "tags": [ - "TagSample01", - "TagSample02" - ] + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + } } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json index ecb41edfce50..b33508b53716 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json @@ -22,10 +22,10 @@ "timeModified": null, "storageUri": null }, - "tags": [ - "TagSample01", - "TagSample02" - ] + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + } } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json index c503061bcbe9..3580dd61e7e8 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json @@ -15,10 +15,7 @@ "kind": "shared", "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } + "type": "None" }, "properties": { "displayName": "tttt", @@ -27,7 +24,7 @@ "category": "workbook", "tags": [], "description": "Sample workbook", - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "" } } }, @@ -35,13 +32,7 @@ "200": { "body": { "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - } - } + "type": "None" }, "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", @@ -63,20 +54,14 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "" } } }, "201": { "body": { "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - } - } + "type": "None" }, "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", @@ -98,7 +83,7 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json index 7b451edb229a..ae4bd77d6039 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json @@ -9,17 +9,7 @@ "200": { "body": { "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } - } + "type": "None" }, "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/Microsoft.Insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", "name": "76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", @@ -41,7 +31,7 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/VuTest1/providers/Microsoft.Storage/storageAccounts/vutest1/blobServices/default/containers/testcmk2" + "storageUri": "" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json index 70a82b300308..d8dc28f40eb6 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json @@ -8,15 +8,11 @@ "id": "e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", "location": "westus", - "tags": null, + "tags": {}, "type": "Microsoft.Insights/workbooks", "kind": "shared", "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} - } + "type": "None" }, "properties": { "displayName": "tttt", @@ -27,24 +23,14 @@ "timeModified": "2020-10-20T22:00:26.4229554Z", "tags": [], "description": "Sample workbook", - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "" } }, "responses": { "201": { "body": { "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" - }, - "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" - } - } + "type": "None" }, "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", @@ -66,7 +52,7 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json index 63a551267bc0..e05b22b0b472 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json @@ -25,11 +25,11 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1ab" }, - "tags": [ - "TagSample01", - "TagSample02" - ] - } + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + } + } } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json index 3346fb2e2120..23597e9dbcdd 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json @@ -9,10 +9,10 @@ "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "location": "west us", "kind": "shared", - "tags": [ - "TagSample01", - "TagSample02" - ], + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + }, "properties": { "name": "Blah Blah Blah", "userId": "userId", @@ -33,10 +33,10 @@ "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", - "tags": [ - "TagSample01", - "TagSample02" - ], + "tags": { + "mytag1": "TagSample01", + "mytag2": "TagSample02" + }, "properties": { "displayName": "Blah Blah Blah", "userId": "userId", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json index 4d4571d0781e..ed949b4d5282 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json @@ -418,7 +418,7 @@ }, "definitions": { "WorkbooksResource": { - "type":"object", + "type": "object", "properties": { "identity": { "description": "Identity used for BYOS", @@ -457,14 +457,14 @@ ] }, "tags": { - "type":"object", + "type": "object", "additionalProperties": { "type": "string" }, "description": "Resource tags" }, "etag": { - "type":"object", + "type": "string", "additionalProperties": { "type": "string" }, @@ -475,7 +475,7 @@ "description": "An azure resource object" }, "WorkbooksListResult": { - "type":"object", + "type": "array", "properties": { "value": { "type": "array", @@ -492,7 +492,7 @@ "description": "Workbook list result." }, "Workbook": { - "type":"object", + "type": "object", "description": "An Application Insights workbook definition.", "allOf": [ { From 4234175609893b11d9c84f4fa6ebb469ab27c03f Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Tue, 8 Feb 2022 08:52:03 -0800 Subject: [PATCH 10/24] setup initial repo --- .../2021-03-08/examples/WorkbookAdd.json | 26 +++++++++--------- .../2021-03-08/examples/WorkbookGet.json | 8 +++--- .../2021-03-08/examples/WorkbookGet1.json | 8 +++--- .../examples/WorkbookManagedAdd.json | 27 ++++++++++++++----- .../examples/WorkbookManagedGet.json | 14 ++++++++-- .../examples/WorkbookManagedUpdate.json | 24 +++++++++++++---- .../examples/WorkbookRevisionGet.json | 10 +++---- .../2021-03-08/examples/WorkbookUpdate.json | 16 +++++------ .../stable/2021-03-08/workbooks_API.json | 9 ++----- .../resource-manager/readme.python.md | 9 ------- 10 files changed, 88 insertions(+), 63 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json index c338ad461112..daed083d4b6c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookAdd.json @@ -16,11 +16,11 @@ "category": "workbook", "description": "Sample workbook" }, - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - } - } + "tags": [ + "TagSample01", + "TagSample02" + ] + } }, "responses": { "200": { @@ -41,10 +41,10 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb" }, - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - } + "tags": [ + "TagSample01", + "TagSample02" + ] } }, "201": { @@ -65,10 +65,10 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb" }, - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - } + "tags": [ + "TagSample01", + "TagSample02" + ] } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json index 590408edc5b5..cfd0adde20c0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet.json @@ -24,10 +24,10 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb" }, - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - } + "tags": [ + "TagSample01", + "TagSample02" + ] } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json index b33508b53716..ecb41edfce50 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookGet1.json @@ -22,10 +22,10 @@ "timeModified": null, "storageUri": null }, - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - } + "tags": [ + "TagSample01", + "TagSample02" + ] } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json index 3580dd61e7e8..c503061bcbe9 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedAdd.json @@ -15,7 +15,10 @@ "kind": "shared", "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", "identity": { - "type": "None" + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } }, "properties": { "displayName": "tttt", @@ -24,7 +27,7 @@ "category": "workbook", "tags": [], "description": "Sample workbook", - "storageUri": "" + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } } }, @@ -32,7 +35,13 @@ "200": { "body": { "identity": { - "type": "None" + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + } + } }, "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", @@ -54,14 +63,20 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "" + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } } }, "201": { "body": { "identity": { - "type": "None" + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + } + } }, "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/72377f0c-b7e7-4044-a882-471bcbd9696e", "name": "e378d137-1243-4256-b5c4-ad2a937cae79", @@ -83,7 +98,7 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "" + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json index ae4bd77d6039..7b451edb229a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedGet.json @@ -9,7 +9,17 @@ "200": { "body": { "identity": { - "type": "None" + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } }, "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/vutest1/providers/Microsoft.Insights/workbooks/76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", "name": "76cb9d13-93c0-4939-ab7d-4a7bd959e1ad", @@ -31,7 +41,7 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "" + "storageUri": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/VuTest1/providers/Microsoft.Storage/storageAccounts/vutest1/blobServices/default/containers/testcmk2" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json index d8dc28f40eb6..70a82b300308 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookManagedUpdate.json @@ -8,11 +8,15 @@ "id": "e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", "location": "westus", - "tags": {}, + "tags": null, "type": "Microsoft.Insights/workbooks", "kind": "shared", "identity": { - "type": "None" + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + } }, "properties": { "displayName": "tttt", @@ -23,14 +27,24 @@ "timeModified": "2020-10-20T22:00:26.4229554Z", "tags": [], "description": "Sample workbook", - "storageUri": "" + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } }, "responses": { "201": { "body": { "identity": { - "type": "None" + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + }, + "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { + "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + } + } }, "id": "/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/e378d137-1243-4256-b5c4-562a937cae79", "name": "e378d137-1243-4256-b5c4-562a937cae79", @@ -52,7 +66,7 @@ "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "" + "storageUri": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json index e05b22b0b472..63a551267bc0 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookRevisionGet.json @@ -25,11 +25,11 @@ "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1ab" }, - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - } - } + "tags": [ + "TagSample01", + "TagSample02" + ] + } } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json index 23597e9dbcdd..3346fb2e2120 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/examples/WorkbookUpdate.json @@ -9,10 +9,10 @@ "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "location": "west us", "kind": "shared", - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - }, + "tags": [ + "TagSample01", + "TagSample02" + ], "properties": { "name": "Blah Blah Blah", "userId": "userId", @@ -33,10 +33,10 @@ "location": "westus", "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", - "tags": { - "mytag1": "TagSample01", - "mytag2": "TagSample02" - }, + "tags": [ + "TagSample01", + "TagSample02" + ], "properties": { "displayName": "Blah Blah Blah", "userId": "userId", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json index ed949b4d5282..1b6848a9216c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json @@ -417,8 +417,7 @@ } }, "definitions": { - "WorkbooksResource": { - "type": "object", + "Resource": { "properties": { "identity": { "description": "Identity used for BYOS", @@ -457,14 +456,12 @@ ] }, "tags": { - "type": "object", "additionalProperties": { "type": "string" }, "description": "Resource tags" }, "etag": { - "type": "string", "additionalProperties": { "type": "string" }, @@ -475,7 +472,6 @@ "description": "An azure resource object" }, "WorkbooksListResult": { - "type": "array", "properties": { "value": { "type": "array", @@ -492,11 +488,10 @@ "description": "Workbook list result." }, "Workbook": { - "type": "object", "description": "An Application Insights workbook definition.", "allOf": [ { - "$ref": "#/definitions/WorkbooksResource" + "$ref": "#/definitions/Resource" } ], "properties": { diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index 3446035f904a..ea2fd5b0c080 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -38,15 +38,6 @@ clear-output-folder: false perform-load: false ``` -### Tag: package-2021-03-only and python - -These settings apply only when `--tag=package-2021-03-only --python` is specified on the command line. - -``` yaml $(tag) == 'package-2021-03-only' && $(python) && $(track2) -namespace: azure.mgmt.applicationinsights.v2021_03_08 -output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2021_03_08 -``` - ### Tag: package-2015-05 and python These settings apply only when `--tag=package-2015-05 --python` is specified on the command line. From 8dbc4aa81a92eea4b3b87ee3b8c5e429e5ce9257 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Tue, 8 Feb 2022 08:57:20 -0800 Subject: [PATCH 11/24] add missing canfetchcontent --- .../stable/2021-08-01/workbooks_API.json | 3 +++ .../resource-manager/readme.md | 27 ++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 67ba82399ddd..78ebda65a157 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -150,6 +150,9 @@ { "$ref": "#/parameters/WorkbookResourceNameParameter" }, + { + "$ref": "#/parameters/CanFetchWorkbookContentParameter" + }, { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index b3921df56dd9..0ef28312eb2b 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-2022-01-11 +tag: package-2022-02-01 ``` ### Suppression @@ -232,6 +232,31 @@ directive: ``` +### Tag: package-2022-02-01 + +These settings apply only when `--tag=package-2022-02-01` is specified on the command line. + +``` yaml $(tag) == 'package-2022-02-01' +input-file: + - Microsoft.Insights/stable/2015-05-01/aiOperations_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/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/2015-05-01/analyticsItems_API.json + - Microsoft.Insights/stable/2020-11-20/workbookTemplates_API.json + - Microsoft.Insights/stable/2021-03-08/myworkbooks_API.json + - Microsoft.Insights/stable/2021-08-01/workbooks_API.json + - Microsoft.Insights/stable/2020-02-02/components_API.json + - Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json + - Microsoft.Insights/stable/2021-10-14/livetoken_API.json +``` + ### Tag: package-2022-01-11 These settings apply only when `--tag=package-2022-01-11` is specified on the command line. From 1be54c87a2714529647db8cf388511d0b5ed6799 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Tue, 8 Feb 2022 09:18:20 -0800 Subject: [PATCH 12/24] change kind to only support shared --- .../Microsoft.Insights/stable/2021-08-01/workbooks_API.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 78ebda65a157..4d394b0d264a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -437,9 +437,8 @@ }, "kind": { "type": "string", - "description": "The kind of workbook. Choices are user and shared.", + "description": "The kind of workbook. Only valid value is shared.", "enum": [ - "user", "shared" ], "x-ms-enum": { @@ -565,9 +564,8 @@ "properties": { "kind": { "type": "string", - "description": "The kind of workbook. Choices are user and shared.", + "description": "The kind of workbook. Only valid value is shared.", "enum": [ - "user", "shared" ], "x-ms-enum": { From 56d76b26a72867963a466d86b3881ddd6dbd02c5 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Tue, 8 Feb 2022 09:51:11 -0800 Subject: [PATCH 13/24] name needs to be different --- .../Microsoft.Insights/stable/2021-08-01/workbooks_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 4d394b0d264a..16fa8d2805f5 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -442,7 +442,7 @@ "shared" ], "x-ms-enum": { - "name": "kind", + "name": "workbookKind", "modelAsString": true } }, From 17e3fa9dd685601890d522cb5e0e0cc8a2602ba8 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Thu, 10 Feb 2022 10:10:31 -0800 Subject: [PATCH 14/24] fix invalide format examples --- .../stable/2021-08-01/examples/WorkbookManagedAdd.json | 4 ++-- .../stable/2021-08-01/examples/WorkbookManagedGet.json | 6 +++--- .../stable/2021-08-01/examples/WorkbookManagedUpdate.json | 6 +++--- .../stable/2021-08-01/examples/WorkbooksManagedList.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json index 15c86b4574aa..2f3054a3d7b2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json @@ -37,7 +37,7 @@ "userAssignedIdentities": { "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" } } }, @@ -72,7 +72,7 @@ "userAssignedIdentities": { "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json index ae6073404407..37450b3672ec 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json @@ -13,11 +13,11 @@ "userAssignedIdentities": { "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" }, "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + "clientId": "47429305-c0d3-40bc-8595-6194adfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e" } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json index e9d64ee84625..bcb57add99fe 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json @@ -39,11 +39,11 @@ "userAssignedIdentities": { "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9x19" + "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" }, "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194sdfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e0" + "clientId": "47429305-c0d3-40bc-8595-6194adfdf3dc", + "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e" } } }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json index 7d849d06f920..c271e1813883 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json @@ -16,7 +16,7 @@ "userAssignedIdentities": { "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { "clientId": "fbe75b66-01c5-4f87-a220-233af3270433", - "principalId": "075a0ca6-4326-4434-9abf-c9b1b79f9x19" + "principalId": "075a0ca6-4326-4434-9abf-c9b1b79f9a19" } } }, From bdbfa72fee0edd378a42646e66a70002cf72cb72 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Sun, 13 Feb 2022 23:25:15 -0800 Subject: [PATCH 15/24] enum should not change till a new apiversion --- .../stable/2021-08-01/examples/WorkbookManagedAdd.json | 2 +- .../Microsoft.Insights/stable/2021-08-01/workbooks_API.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json index 2f3054a3d7b2..53acba483ea4 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json @@ -83,7 +83,7 @@ "tags": { "hidden-title": "tttt" }, - "kind": "user", + "kind": "shared", "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", "properties": { "displayName": "tttt", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 16fa8d2805f5..0569f1439596 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -439,6 +439,7 @@ "type": "string", "description": "The kind of workbook. Only valid value is shared.", "enum": [ + "user", "shared" ], "x-ms-enum": { @@ -566,6 +567,7 @@ "type": "string", "description": "The kind of workbook. Only valid value is shared.", "enum": [ + "user", "shared" ], "x-ms-enum": { From 2ad2bc282462c4d28fe1b7e48cab23b56caae26c Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Sun, 13 Feb 2022 23:46:42 -0800 Subject: [PATCH 16/24] make new param last --- .../Microsoft.Insights/stable/2021-08-01/workbooks_API.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 0569f1439596..3a9cddd2cf0c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -151,10 +151,10 @@ "$ref": "#/parameters/WorkbookResourceNameParameter" }, { - "$ref": "#/parameters/CanFetchWorkbookContentParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/CanFetchWorkbookContentParameter" } ], "responses": { From 2ca36ecb8c8894494f20ca72aeeb0ce0c9f7ffbb Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 16 Feb 2022 18:11:35 -0800 Subject: [PATCH 17/24] change name back to kind --- .../Microsoft.Insights/stable/2021-08-01/workbooks_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 3a9cddd2cf0c..9d63a5a21c7d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -443,7 +443,7 @@ "shared" ], "x-ms-enum": { - "name": "workbookKind", + "name": "kind", "modelAsString": true } }, From abcfd7de7ad4809bd2bd387910e310b8dd92b237 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Thu, 24 Feb 2022 09:31:53 -0800 Subject: [PATCH 18/24] fix up descriptions and examples --- .../2021-08-01/examples/WorkbookAdd.json | 8 ++++---- .../2021-08-01/examples/WorkbookDelete.json | 2 +- .../examples/WorkbookManagedAdd.json | 20 +++---------------- .../examples/WorkbookManagedGet.json | 5 ----- .../examples/WorkbookManagedUpdate.json | 11 +++------- .../2021-08-01/examples/WorkbookUpdate.json | 4 ++-- .../2021-08-01/examples/WorkbooksList.json | 2 +- .../2021-08-01/examples/WorkbooksListSub.json | 2 +- .../examples/WorkbooksManagedList.json | 2 +- .../stable/2021-08-01/workbooks_API.json | 16 +++++++-------- 10 files changed, 24 insertions(+), 48 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json index 978ae3841103..808988be51fc 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json @@ -6,10 +6,10 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", "workbookProperties": { - "location": "west us", + "location": "westus", "kind": "shared", "properties": { - "displayName": "tttt", + "displayName": "Sample workbook", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "category": "workbook", "description": "Sample workbook" @@ -29,7 +29,7 @@ "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "properties": { - "displayName": "Blah Blah Blah", + "displayName": "Sample workbook", "userId": "userId", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", @@ -53,7 +53,7 @@ "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", "kind": "shared", "properties": { - "displayName": "Blah Blah Blah", + "displayName": "Sample workbook", "userId": "userId", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookDelete.json index ca98a38004ee..1c9ab9dede59 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookDelete.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookDelete.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2021-08-01", - "subscriptionId": "subid", + "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" }, diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json index 53acba483ea4..a4444044dfb7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json @@ -7,11 +7,7 @@ "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", "workbookProperties": { "location": "westus", - "tags": { - "hidden-title": "tttt" - }, "kind": "shared", - "etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"", "identity": { "type": "UserAssigned", "userAssignedIdentities": { @@ -19,11 +15,10 @@ } }, "properties": { - "displayName": "tttt", + "displayName": "Sample workbook", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", "version": "Notebook/1.0", "category": "workbook", - "tags": [], "description": "Sample workbook", "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } @@ -45,20 +40,15 @@ "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", - "tags": { - "hidden-title": "tttt" - }, "kind": "shared", - "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", "properties": { - "displayName": "tttt", + "displayName": "Sample workbook", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", "version": "Notebook/1.0", "category": "workbook", "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", "timeModified": "2020-10-20T22:00:26.4229554Z", - "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" @@ -80,13 +70,9 @@ "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", - "tags": { - "hidden-title": "tttt" - }, "kind": "shared", - "etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"", "properties": { - "displayName": "tttt", + "displayName": "Sample workbook", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", "version": "Notebook/1.0", "category": "workbook", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json index 37450b3672ec..f0eb1b9dce71 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json @@ -25,11 +25,7 @@ "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westcentralus", - "tags": { - "hidden-title": "azuremon" - }, "kind": "shared", - "etag": "\"0c003cb4-0000-0600-0000-5f5203c60000\"", "properties": { "displayName": "azuremon", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"testing1\"},\"showPin\":false,\"name\":\"text - 0\"}],\"isLocked\":true,\"fallbackResourceIds\":[\"Azure Monitor\"]}", @@ -38,7 +34,6 @@ "userId": "51d1409c-d725-4550-ac03-98c0bef9ef07", "sourceId": "azure monitor", "timeModified": "2020-09-04T09:07:17.735638Z", - "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json index bcb57add99fe..a2b60b705d92 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json @@ -20,13 +20,10 @@ } }, "properties": { - "displayName": "tttt", + "displayName": "Sample workbook", "version": "Notebook/1.0", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/MyGroup\"]}", "category": "workbook", - "isPersisted": true, - "timeModified": "2020-10-20T22:00:26.4229554Z", - "tags": [], "description": "Sample workbook", "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" } @@ -54,19 +51,17 @@ "tags": { "TagSample01": "sample01", "TagSample02": "sample02", - "hidden-title": "tttt" + "hidden-title": "Sample workbook" }, "kind": "shared", - "etag": "\"4a00f78d-0000-0700-0000-5f8f616c0000\"", "properties": { - "displayName": "tttt", + "displayName": "Sample workbook", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/MyGroup\"]}", "version": "Notebook/1.0", "category": "workbook", "userId": "70d90f65-8a70-4e42-b8d5-863725e0a90f", "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", "timeModified": "2020-10-20T22:15:08.1875458Z", - "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json index 9905cd92d222..a056ff96e318 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json @@ -12,7 +12,7 @@ }, "kind": "shared", "properties": { - "displayName": "Blah Blah Blah", + "displayName": "Sample workbook", "userId": "userId", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", @@ -34,7 +34,7 @@ }, "kind": "shared", "properties": { - "displayName": "Blah Blah Blah", + "displayName": "Sample workbook", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "userId": "userId", "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json index 3dd9830d5d0d..bb39d9055e98 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json @@ -50,7 +50,7 @@ "timeModified": "2020-08-04T09:07:17.735638Z", "storageUri": null, "description": "Sample workbook", - "revision": "1e2f8435b98248febee70c64ac22e1bb" + "revision": "1e2f8435b98248febee70c64ac22e1bc" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json index 8986796960bc..1c79ca9eda8e 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json @@ -49,7 +49,7 @@ "timeModified": "2020-10-20T22:00:26.4229554Z", "storageUri": null, "description": "Sample workbook", - "revision": "1e2f8435b98248febee70c64ac22e1bb" + "revision": "1e2f8435b98248febee70c64ac22e1bc" } } ], diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json index c271e1813883..9a43fa142097 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json @@ -59,7 +59,7 @@ "timeModified": "2020-10-20T21:00:26.4229554Z", "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": null } } ] diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 9d63a5a21c7d..b1dc922cfeb7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights workbook type.", + "description": "Azure workbook resource type.", "version": "2021-08-01" }, "host": "management.azure.com", @@ -36,7 +36,7 @@ "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks": { "get": { - "description": "Get all private workbooks defined within a specified subscription and category.", + "description": "Get all Workbooks defined within a specified subscription and category.", "operationId": "Workbooks_ListBySubscription", "parameters": [ { @@ -78,9 +78,6 @@ }, "WorkbooksList2": { "$ref": "./examples/WorkbooksList2.json" - }, - "WorkbooksManagedList": { - "$ref": "./examples/WorkbooksManagedList.json" } } } @@ -132,7 +129,10 @@ "x-ms-examples": { "WorkbooksList": { "$ref": "./examples/WorkbooksList.json" - } + }, + "WorkbooksManagedList": { + "$ref": "./examples/WorkbooksManagedList.json" + } } } }, @@ -474,7 +474,7 @@ "description": "Workbook list result." }, "Workbook": { - "description": "An Application Insights workbook definition.", + "description": "A workbook definition.", "type": "object", "allOf": [ { @@ -683,7 +683,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the Application Insights component resource.", + "description": "The name of the workbook resource.", "x-ms-parameter-location": "method" }, "CategoryParameter": { From ec1affbc4a4f526844a191992c6a117714876869 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Thu, 24 Feb 2022 12:49:43 -0800 Subject: [PATCH 19/24] fix up examples --- .../2021-08-01/examples/WorkbookAdd.json | 16 +++++---- .../2021-08-01/examples/WorkbookGet.json | 2 +- .../2021-08-01/examples/WorkbookGet1.json | 2 +- .../examples/WorkbookManagedAdd.json | 33 +++++++++---------- .../examples/WorkbookManagedGet.json | 14 +++----- .../examples/WorkbookManagedUpdate.json | 27 +++++++-------- .../examples/WorkbookRevisionGet.json | 2 +- .../examples/WorkbookRevisionsList.json | 4 +-- .../2021-08-01/examples/WorkbookUpdate.json | 6 ++-- .../2021-08-01/examples/WorkbooksList.json | 8 ++--- .../2021-08-01/examples/WorkbooksListSub.json | 8 ++--- .../examples/WorkbooksManagedList.json | 20 +++++------ 12 files changed, 67 insertions(+), 75 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json index 808988be51fc..7ed44a0b8136 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookAdd.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2021-08-01", - "resourceGroupName": "my-resource-group", - "resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", + "resourceGroupName": "my-resource-group", + "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "workbookProperties": { "location": "westus", "kind": "shared", @@ -23,10 +23,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "kind": "shared", "properties": { "displayName": "Sample workbook", @@ -34,6 +34,7 @@ "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "timeModified": "2021-08-24T06:56:31.6301521Z", "storageUri": null, "description": "Sample workbook", @@ -47,10 +48,10 @@ }, "201": { "body": { - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-8bee-4d3b-a059-9be8dac93960", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "kind": "shared", "properties": { "displayName": "Sample workbook", @@ -58,6 +59,7 @@ "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "timeModified": "2021-08-24T06:56:31.6301521Z", "storageUri": null, "description": "Sample workbook", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet.json index 64388e923167..1550d001287a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet.json @@ -9,7 +9,7 @@ "200": { "body": { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "kind": "shared", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet1.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet1.json index 7e855e64ba66..c43724e130ef 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet1.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookGet1.json @@ -9,7 +9,7 @@ "200": { "body": { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "kind": "shared", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json index a4444044dfb7..640a3d64d28d 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedAdd.json @@ -4,23 +4,23 @@ "resourceGroupName": "my-resource-group", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "workbookProperties": { "location": "westus", "kind": "shared", "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": {} } }, "properties": { "displayName": "Sample workbook", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup\"]}", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group\"]}", "version": "Notebook/1.0", "category": "workbook", "description": "Sample workbook", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" } } }, @@ -30,9 +30,9 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" } } }, @@ -43,15 +43,15 @@ "kind": "shared", "properties": { "displayName": "Sample workbook", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", "version": "Notebook/1.0", "category": "workbook", "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "timeModified": "2020-10-20T22:00:26.4229554Z", "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" } } }, @@ -60,9 +60,9 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" } } }, @@ -73,16 +73,15 @@ "kind": "shared", "properties": { "displayName": "Sample workbook", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}", "version": "Notebook/1.0", "category": "workbook", "userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "timeModified": "2020-10-20T22:00:26.4229554Z", - "tags": [], "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json index f0eb1b9dce71..f0f56518e06c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedGet.json @@ -11,20 +11,16 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" - }, - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194adfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" } } }, "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", - "location": "westcentralus", + "location": "westus", "kind": "shared", "properties": { "displayName": "azuremon", @@ -36,7 +32,7 @@ "timeModified": "2020-09-04T09:07:17.735638Z", "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json index a2b60b705d92..ab8d8740c5e7 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookManagedUpdate.json @@ -4,7 +4,7 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "location": "westus", "tags": { "TagSample01": "sample01", @@ -15,17 +15,16 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {} + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": {} } }, "properties": { "displayName": "Sample workbook", "version": "Notebook/1.0", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/MyGroup\"]}", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/my-resource-group\"]}", "category": "workbook", "description": "Sample workbook", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" } }, "responses": { @@ -34,17 +33,13 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270432", - "principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9a19" - }, - "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "clientId": "47429305-c0d3-40bc-8595-6194adfdf3dc", - "principalId": "bf9ebbc8-b92d-4752-8e66-c999d560326e" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" } } }, - "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", + "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", @@ -56,15 +51,15 @@ "kind": "shared", "properties": { "displayName": "Sample workbook", - "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/MyGroup\"]}", + "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"test\"},\"name\":\"text - 0\"}],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/8980832b-9589-4ac2-b322-a6ae6a97f02b/resourceGroups/my-resource-group\"]}", "version": "Notebook/1.0", "category": "workbook", "userId": "70d90f65-8a70-4e42-b8d5-863725e0a90f", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/MyGroup", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", "timeModified": "2020-10-20T22:15:08.1875458Z", "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" } } } diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionGet.json index ef073acb903e..0c52e6fa874a 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionGet.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionGet.json @@ -10,7 +10,7 @@ "200": { "body": { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "kind": "shared", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionsList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionsList.json index f1f58ae89577..d8ecfedac8b2 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionsList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookRevisionsList.json @@ -11,7 +11,7 @@ "value": [ { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": {}, @@ -31,7 +31,7 @@ }, { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json index a056ff96e318..dc74a53290cb 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbookUpdate.json @@ -4,7 +4,7 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "workbookProperties": { "tags": { "TagSample01": "sample01", @@ -25,7 +25,7 @@ "201": { "body": { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4ddq-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": { @@ -37,7 +37,7 @@ "displayName": "Sample workbook", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "userId": "userId", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "version": "Notebook/1.0", "category": "workbook", "timeModified": "2020-10-20T22:00:26.4229554Z", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json index bb39d9055e98..edae53cbb130 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksList.json @@ -4,7 +4,7 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "resourceGroupName": "my-resource-group", "category": "workbook", - "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp" }, "responses": { "200": { @@ -12,7 +12,7 @@ "value": [ { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": {}, @@ -20,7 +20,7 @@ "properties": { "displayName": "My Workbook 1", "userId": "userId", - "sourceId": "Azure Monitor", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "serializedData": "{\"verion\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", @@ -43,7 +43,7 @@ "properties": { "displayName": "My Workbook 2", "userId": "userId", - "sourceId": "Azure Monitor", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json index 1c79ca9eda8e..c196c3bc9443 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksListSub.json @@ -3,7 +3,7 @@ "api-version": "2021-08-01", "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", "category": "workbook", - "sourceId": "/subscriptions/ad2f1a83-caac-4e21-9d2a-9ca3f87105e2/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Web/sites/MyApp" }, "responses": { "200": { @@ -11,7 +11,7 @@ "value": [ { "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4d3b-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": {}, @@ -19,7 +19,7 @@ "properties": { "displayName": "My Workbook 1", "userId": "userId", - "sourceId": "Azure Monitor", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "serializedData": "{\"verion\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", @@ -42,7 +42,7 @@ "properties": { "displayName": "My Workbook 2", "userId": "userId", - "sourceId": "Azure Monitor", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json index 9a43fa142097..5c27fb877798 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/examples/WorkbooksManagedList.json @@ -4,7 +4,7 @@ "subscriptionId": "6b643656-33eb-422f-aee8-3ac119r124af", "resourceGroupName": "my-resource-group", "category": "workbook", - "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/Default-Web-WestUS/providers/Microsoft.Web/sites/MyTestApp-CodeLens1" + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp" }, "responses": { "200": { @@ -14,14 +14,14 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/eu2cgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "clientId": "fbe75b66-01c5-4f87-a220-233af3270433", - "principalId": "075a0ca6-4326-4434-9abf-c9b1b79f9a19" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" } } }, "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", - "name": "deadb33f-8bee-4ddq-a059-9be8dac93960", + "name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", "type": "Microsoft.Insights/workbooks", "location": "westus", "tags": {}, @@ -29,14 +29,14 @@ "properties": { "displayName": "My Workbook 1", "userId": "userId", - "sourceId": "Azure Monitor", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "serializedData": "{\"verion\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", "timeModified": "2020-10-20T22:00:26.4229554Z", "description": "Sample workbook", "revision": "1e2f8435b98248febee70c64ac22e1bb", - "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/MyGroup/providers/Microsoft.Storage/storageAccounts/testStorage/blobServices/default/containers/testContainer" + "storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" } }, { @@ -52,13 +52,13 @@ "properties": { "displayName": "My Workbook 2", "userId": "userId", - "sourceId": "Azure Monitor", + "sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac119r124af/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/MyApp", "serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}", "version": "Notebook/1.0", "category": "workbook", - "timeModified": "2020-10-20T21:00:26.4229554Z", + "timeModified": "2020-10-20T21:00:26.4229555Z", "description": "Sample workbook", - "revision": "1e2f8435b98248febee70c64ac22e1bb", + "revision": "1e2f8435b98248febee70c64ac22e1bc", "storageUri": null } } From 258682a89ec5ffb5b467874229f37888a5f7148b Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 2 Mar 2022 15:02:27 -0800 Subject: [PATCH 20/24] ran prettier --- .../Microsoft.Insights/stable/2021-08-01/workbooks_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index b1dc922cfeb7..9a18649a3493 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -132,7 +132,7 @@ }, "WorkbooksManagedList": { "$ref": "./examples/WorkbooksManagedList.json" - } + } } } }, From d536d3bc720819a8de2ba734721fd4a80efe6f4b Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Tue, 8 Mar 2022 09:59:00 -0800 Subject: [PATCH 21/24] update description to remove appinsights --- .../Microsoft.Insights/stable/2021-03-08/workbooks_API.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json index 1b6848a9216c..ea587103d207 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "ApplicationInsightsManagementClient", - "description": "Azure Application Insights workbook type.", + "description": "Azure workbook type.", "version": "2021-03-08" }, "host": "management.azure.com", @@ -488,7 +488,7 @@ "description": "Workbook list result." }, "Workbook": { - "description": "An Application Insights workbook definition.", + "description": "A workbook definition.", "allOf": [ { "$ref": "#/definitions/Resource" @@ -731,7 +731,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the Application Insights component resource.", + "description": "The name of the resource.", "x-ms-parameter-location": "method" }, "CategoryParameter": { From bde97753d8af45364d9cac67274a44d32e803523 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 9 Mar 2022 01:15:39 -0800 Subject: [PATCH 22/24] restore back text --- .../Microsoft.Insights/stable/2021-08-01/workbooks_API.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json index 9a18649a3493..e3142c853b17 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-08-01/workbooks_API.json @@ -474,7 +474,7 @@ "description": "Workbook list result." }, "Workbook": { - "description": "A workbook definition.", + "description": "An Application Insights workbook definition.", "type": "object", "allOf": [ { @@ -683,7 +683,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the workbook resource.", + "description": "The name of the Application Insights component resource.", "x-ms-parameter-location": "method" }, "CategoryParameter": { From 8d4a8152b4d78faebdf940585ee4fd1c70eb8fba Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 9 Mar 2022 01:18:53 -0800 Subject: [PATCH 23/24] restore description --- .../Microsoft.Insights/stable/2021-03-08/workbooks_API.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json index ea587103d207..e1700527a19f 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json @@ -488,7 +488,7 @@ "description": "Workbook list result." }, "Workbook": { - "description": "A workbook definition.", + "description": "An Application Insights workbook definition.", "allOf": [ { "$ref": "#/definitions/Resource" @@ -731,7 +731,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource.", + "description": "The name of the Application Insights component resource.", "x-ms-parameter-location": "method" }, "CategoryParameter": { From dbfc99e4d9dc7280d0bea6f3535c7e009cd3b272 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 9 Mar 2022 01:24:42 -0800 Subject: [PATCH 24/24] restore --- .../Microsoft.Insights/stable/2021-03-08/workbooks_API.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json index e1700527a19f..1b6848a9216c 100644 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json +++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-03-08/workbooks_API.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "ApplicationInsightsManagementClient", - "description": "Azure workbook type.", + "description": "Azure Application Insights workbook type.", "version": "2021-03-08" }, "host": "management.azure.com",