Skip to content

Commit 5fb045b

Browse files
vutran01msyyc
andauthored
Workbooks api-version 2023 06 01 (#25269)
* set default tag to package-2021-03-only * new default tag and add only workbooks to release * update package tag with same RP as last package * update tag name * Update readme.python.md * change definition name * remove operations * fix missingtypeobject in workbooks * fix up model validation errors * initial api-version 2023-06-01 * update workbooks to api-version 2023-06-01 * update description * revert changes to 2021-03-08 --------- Co-authored-by: msyyc <[email protected]>
1 parent 3e3098d commit 5fb045b

16 files changed

+1530
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-06-01",
4+
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
5+
"resourceGroupName": "my-resource-group",
6+
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
7+
"sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
8+
"workbookProperties": {
9+
"location": "westus",
10+
"kind": "shared",
11+
"properties": {
12+
"displayName": "Sample workbook",
13+
"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}",
14+
"category": "workbook",
15+
"description": "Sample workbook"
16+
},
17+
"tags": {
18+
"TagSample01": "sample01",
19+
"TagSample02": "sample02"
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
27+
"type": "Microsoft.Insights/workbooks",
28+
"location": "westus",
29+
"name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
30+
"kind": "shared",
31+
"properties": {
32+
"displayName": "Sample workbook",
33+
"userId": "userId",
34+
"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}",
35+
"version": "Notebook/1.0",
36+
"category": "workbook",
37+
"sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
38+
"timeModified": "2021-08-24T06:56:31.6301521Z",
39+
"storageUri": null,
40+
"description": "Sample workbook",
41+
"revision": "1e2f8435b98248febee70c64ac22e1bb"
42+
},
43+
"tags": {
44+
"TagSample01": "sample01",
45+
"TagSample02": "sample02"
46+
}
47+
}
48+
},
49+
"201": {
50+
"body": {
51+
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
52+
"type": "Microsoft.Insights/workbooks",
53+
"location": "westus",
54+
"name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
55+
"kind": "shared",
56+
"properties": {
57+
"displayName": "Sample workbook",
58+
"userId": "userId",
59+
"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}",
60+
"version": "Notebook/1.0",
61+
"category": "workbook",
62+
"sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
63+
"timeModified": "2021-08-24T06:56:31.6301521Z",
64+
"storageUri": null,
65+
"description": "Sample workbook",
66+
"revision": "1e2f8435b98248febee70c64ac22e1bb"
67+
},
68+
"tags": {
69+
"TagSample01": "sample01",
70+
"TagSample02": "sample02"
71+
}
72+
}
73+
}
74+
}
75+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-06-01",
4+
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
5+
"resourceGroupName": "my-resource-group",
6+
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-06-01",
4+
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
5+
"resourceGroupName": "my-resource-group",
6+
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
12+
"name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
13+
"type": "Microsoft.Insights/workbooks",
14+
"location": "westus",
15+
"kind": "shared",
16+
"properties": {
17+
"displayName": "Sample workbook",
18+
"userId": "userId",
19+
"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}",
20+
"version": "Notebook/1.0",
21+
"category": "workbook",
22+
"timeModified": "2021-08-24T06:56:31.6301521Z",
23+
"storageUri": null,
24+
"description": "Sample workbook",
25+
"revision": "1e2f8435b98248febee70c64ac22e1bb"
26+
},
27+
"tags": {
28+
"TagSample01": "sample01",
29+
"TagSample02": "sample02"
30+
}
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-06-01",
4+
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
5+
"resourceGroupName": "my-resource-group",
6+
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/microsoft.insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
12+
"name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
13+
"type": "Microsoft.Insights/workbooks",
14+
"location": "westus",
15+
"kind": "shared",
16+
"properties": {
17+
"displayName": "Sample workbook",
18+
"userId": "userId",
19+
"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}",
20+
"version": "Notebook/1.0",
21+
"category": "workbook",
22+
"timeModified": "2021-08-24T06:56:31.6301521Z",
23+
"storageUri": null
24+
},
25+
"tags": {
26+
"TagSample01": "sample01",
27+
"TagSample02": "sample02"
28+
}
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-06-01",
4+
"resourceGroupName": "my-resource-group",
5+
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
6+
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
7+
"sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
8+
"workbookProperties": {
9+
"location": "westus",
10+
"kind": "shared",
11+
"identity": {
12+
"type": "UserAssigned",
13+
"userAssignedIdentities": {
14+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": {}
15+
}
16+
},
17+
"properties": {
18+
"displayName": "Sample workbook",
19+
"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\"]}",
20+
"version": "Notebook/1.0",
21+
"category": "workbook",
22+
"description": "Sample workbook",
23+
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer"
24+
}
25+
}
26+
},
27+
"responses": {
28+
"200": {
29+
"body": {
30+
"identity": {
31+
"type": "UserAssigned",
32+
"userAssignedIdentities": {
33+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": {
34+
"clientId": "00000000-0000-0000-0000-000000000000",
35+
"principalId": "00000000-0000-0000-0000-000000000000"
36+
}
37+
}
38+
},
39+
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
40+
"name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
41+
"type": "Microsoft.Insights/workbooks",
42+
"location": "westus",
43+
"kind": "shared",
44+
"properties": {
45+
"displayName": "Sample workbook",
46+
"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\"]}",
47+
"version": "Notebook/1.0",
48+
"category": "workbook",
49+
"userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f",
50+
"sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
51+
"timeModified": "2020-10-20T22:00:26.4229554Z",
52+
"description": "Sample workbook",
53+
"revision": "1e2f8435b98248febee70c64ac22e1bb",
54+
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer"
55+
}
56+
}
57+
},
58+
"201": {
59+
"body": {
60+
"identity": {
61+
"type": "UserAssigned",
62+
"userAssignedIdentities": {
63+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": {
64+
"clientId": "00000000-0000-0000-0000-000000000000",
65+
"principalId": "00000000-0000-0000-0000-000000000000"
66+
}
67+
}
68+
},
69+
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
70+
"name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
71+
"type": "Microsoft.Insights/workbooks",
72+
"location": "westus",
73+
"kind": "shared",
74+
"properties": {
75+
"displayName": "Sample workbook",
76+
"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\"]}",
77+
"version": "Notebook/1.0",
78+
"category": "workbook",
79+
"userId": "70d90f65-8a70-4e42-b8d5-86gv25e0a90f",
80+
"sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
81+
"timeModified": "2020-10-20T22:00:26.4229554Z",
82+
"description": "Sample workbook",
83+
"revision": "1e2f8435b98248febee70c64ac22e1bb",
84+
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer"
85+
}
86+
}
87+
}
88+
}
89+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-06-01",
4+
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
5+
"resourceGroupName": "my-resource-group",
6+
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"identity": {
12+
"type": "UserAssigned",
13+
"userAssignedIdentities": {
14+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myid": {
15+
"clientId": "00000000-0000-0000-0000-000000000000",
16+
"principalId": "00000000-0000-0000-0000-000000000000"
17+
}
18+
}
19+
},
20+
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group/providers/Microsoft.Insights/workbooks/deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
21+
"name": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
22+
"type": "Microsoft.Insights/workbooks",
23+
"location": "westus",
24+
"kind": "shared",
25+
"properties": {
26+
"displayName": "azuremon",
27+
"serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"testing1\"},\"showPin\":false,\"name\":\"text - 0\"}],\"isLocked\":true,\"fallbackResourceIds\":[\"Azure Monitor\"]}",
28+
"version": "Notebook/1.0",
29+
"category": "workbook",
30+
"userId": "51d1409c-d725-4550-ac03-98c0bef9ef07",
31+
"sourceId": "azure monitor",
32+
"timeModified": "2020-09-04T09:07:17.735638Z",
33+
"description": "Sample workbook",
34+
"revision": "1e2f8435b98248febee70c64ac22e1bb",
35+
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer"
36+
}
37+
}
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)