-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
c1c8025
commit 45ece3b
Showing
16 changed files
with
1,530 additions
and
1 deletion.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
...ninsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookAdd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", | ||
"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", | ||
"properties": { | ||
"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" | ||
}, | ||
"tags": { | ||
"TagSample01": "sample01", | ||
"TagSample02": "sample02" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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-5e0d-4064-8ebb-1a4ed0313eb2", | ||
"kind": "shared", | ||
"properties": { | ||
"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", | ||
"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", | ||
"revision": "1e2f8435b98248febee70c64ac22e1bb" | ||
}, | ||
"tags": { | ||
"TagSample01": "sample01", | ||
"TagSample02": "sample02" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"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-5e0d-4064-8ebb-1a4ed0313eb2", | ||
"kind": "shared", | ||
"properties": { | ||
"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", | ||
"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", | ||
"revision": "1e2f8435b98248febee70c64ac22e1bb" | ||
}, | ||
"tags": { | ||
"TagSample01": "sample01", | ||
"TagSample02": "sample02" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...sights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", | ||
"resourceGroupName": "my-resource-group", | ||
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ninsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", | ||
"resourceGroupName": "my-resource-group", | ||
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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", | ||
"kind": "shared", | ||
"properties": { | ||
"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", | ||
"category": "workbook", | ||
"timeModified": "2021-08-24T06:56:31.6301521Z", | ||
"storageUri": null, | ||
"description": "Sample workbook", | ||
"revision": "1e2f8435b98248febee70c64ac22e1bb" | ||
}, | ||
"tags": { | ||
"TagSample01": "sample01", | ||
"TagSample02": "sample02" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...insights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", | ||
"resourceGroupName": "my-resource-group", | ||
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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", | ||
"kind": "shared", | ||
"properties": { | ||
"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", | ||
"category": "workbook", | ||
"timeModified": "2021-08-24T06:56:31.6301521Z", | ||
"storageUri": null | ||
}, | ||
"tags": { | ||
"TagSample01": "sample01", | ||
"TagSample02": "sample02" | ||
} | ||
} | ||
} | ||
} | ||
} |
89 changes: 89 additions & 0 deletions
89
...ts/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedAdd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"resourceGroupName": "my-resource-group", | ||
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", | ||
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2", | ||
"sourceId": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group", | ||
"workbookProperties": { | ||
"location": "westus", | ||
"kind": "shared", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/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/my-resource-group\"]}", | ||
"version": "Notebook/1.0", | ||
"category": "workbook", | ||
"description": "Sample workbook", | ||
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/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": "westus", | ||
"kind": "shared", | ||
"properties": { | ||
"displayName": "Sample workbook", | ||
"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/my-resource-group", | ||
"timeModified": "2020-10-20T22:00:26.4229554Z", | ||
"description": "Sample workbook", | ||
"revision": "1e2f8435b98248febee70c64ac22e1bb", | ||
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/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": "westus", | ||
"kind": "shared", | ||
"properties": { | ||
"displayName": "Sample workbook", | ||
"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/my-resource-group", | ||
"timeModified": "2020-10-20T22:00:26.4229554Z", | ||
"description": "Sample workbook", | ||
"revision": "1e2f8435b98248febee70c64ac22e1bb", | ||
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...ts/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-01", | ||
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af", | ||
"resourceGroupName": "my-resource-group", | ||
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/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": "westus", | ||
"kind": "shared", | ||
"properties": { | ||
"displayName": "azuremon", | ||
"serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":{\"json\":\"testing1\"},\"showPin\":false,\"name\":\"text - 0\"}],\"isLocked\":true,\"fallbackResourceIds\":[\"Azure Monitor\"]}", | ||
"version": "Notebook/1.0", | ||
"category": "workbook", | ||
"userId": "51d1409c-d725-4550-ac03-98c0bef9ef07", | ||
"sourceId": "azure monitor", | ||
"timeModified": "2020-09-04T09:07:17.735638Z", | ||
"description": "Sample workbook", | ||
"revision": "1e2f8435b98248febee70c64ac22e1bb", | ||
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.