Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add canFetchContext parameter to individual get request #17708

Merged
merged 28 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
383e194
set default tag to package-2021-03-only
vutran01 Aug 5, 2021
cda75ed
new default tag and add only workbooks to release
vutran01 Aug 5, 2021
d6ee333
update package tag with same RP as last package
vutran01 Aug 12, 2021
2df0d3a
update tag name
vutran01 Aug 12, 2021
3dc8341
Update readme.python.md
msyyc Aug 12, 2021
d2009a7
change definition name
vutran01 Aug 24, 2021
c6a8aa1
Merge branch 'master' of https://github.com/vutran01/azure-rest-api-s…
vutran01 Aug 24, 2021
488f0d6
remove operations
vutran01 Aug 24, 2021
d94f8a3
fix missingtypeobject in workbooks
vutran01 Aug 27, 2021
4775f65
fix up model validation errors
vutran01 Sep 2, 2021
4de0d10
Merge remote-tracking branch 'upstream/master'
vutran01 Sep 20, 2021
b822b7b
Merge remote-tracking branch 'upstream/main'
vutran01 Sep 30, 2021
cc115ff
merge from upstream/main
vutran01 Feb 7, 2022
4234175
setup initial repo
vutran01 Feb 8, 2022
8dbc4aa
add missing canfetchcontent
vutran01 Feb 8, 2022
1be54c8
change kind to only support shared
vutran01 Feb 8, 2022
56d76b2
name needs to be different
vutran01 Feb 8, 2022
17e3fa9
fix invalide format examples
vutran01 Feb 10, 2022
bdbfa72
enum should not change till a new apiversion
vutran01 Feb 14, 2022
2ad2bc2
make new param last
vutran01 Feb 14, 2022
2ca36ec
change name back to kind
vutran01 Feb 17, 2022
abcfd7d
fix up descriptions and examples
vutran01 Feb 24, 2022
ec1affb
fix up examples
vutran01 Feb 24, 2022
258682a
ran prettier
vutran01 Mar 2, 2022
d536d3b
update description to remove appinsights
vutran01 Mar 8, 2022
bde9775
restore back text
vutran01 Mar 9, 2022
8d4a815
restore description
vutran01 Mar 9, 2022
dbfc99e
restore
vutran01 Mar 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"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": "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"
Expand All @@ -23,17 +23,18 @@
"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": "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",
"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",
Expand All @@ -47,17 +48,18 @@
},
"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": "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",
"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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +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",
"tags": {
"hidden-title": "tttt"
},
"kind": "shared",
"etag": "\"4a00f78d-0000-0700-0000-5f8f616c1000\"",
"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": "tttt",
"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\"]}",
"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",
"tags": [],
"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"
}
}
},
Expand All @@ -35,33 +30,28 @@
"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-c9b1b79f9x19"
"/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",
"tags": {
"hidden-title": "tttt"
},
"kind": "shared",
"etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"",
"properties": {
"displayName": "tttt",
"serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}",
"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/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"
}
}
},
Expand All @@ -70,33 +60,28 @@
"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-c9b1b79f9x19"
"/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",
"tags": {
"hidden-title": "tttt"
},
"kind": "user",
"etag": "\"4a00f85e-0000-0700-0000-5f8f5dfa0000\"",
"kind": "shared",
"properties": {
"displayName": "tttt",
"serializedData": "{\"version\":\"Notebook/1.0\",\"items\":[],\"isLocked\":false,\"fallbackResourceIds\":[\"/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.OperationalInsights/workspaces/test-ws\"]}",
"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/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"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,17 @@
"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-c9b1b79f9x19"
},
"/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"
"/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",
"tags": {
"hidden-title": "azuremon"
},
"location": "westus",
"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\"]}",
Expand All @@ -38,10 +30,9 @@
"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"
"storageUri": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Storage/storageAccounts/mystorage/blobServices/default/containers/mycontainer"
}
}
}
Expand Down
Loading