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

Users/tolee/new api version #14041

Merged
merged 23 commits into from
May 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
074b07f
Adding new api version- 2021-03-08
renu00 Mar 19, 2021
fcd3bb8
Fixing validation issues
renu00 Mar 19, 2021
7d49f8c
minor fixes
renu00 Mar 29, 2021
e091c6b
Adding missing file
renu00 Mar 29, 2021
8abd9f1
removed unaffected apis since they aren't going to be changing their …
tonykslee Mar 30, 2021
a8de75d
Merge branch 'renu/master' into users/rerani/newApiVersion
tonykslee Mar 30, 2021
1482f5e
ran prettier check, added systemData to response
tonykslee Mar 30, 2021
67e8a35
ran prettier check again
tonykslee Mar 30, 2021
7df5cc2
added path to systemData definition
tonykslee Mar 30, 2021
526f593
removed systemData
tonykslee Mar 30, 2021
1f698ad
adding systemData to response
tonykslee Mar 30, 2021
22600bb
moved systemData, ran prettier
tonykslee Mar 30, 2021
d187dd4
Revert "removed unaffected apis since they aren't going to be changin…
tonykslee Apr 2, 2021
9e2b9e5
first commit with unmodified files from previous version
tonykslee Apr 20, 2021
281fbce
Merge branch 'users/rerani/newApiVersion' into users/tolee/newApiVersion
tonykslee Apr 20, 2021
6c7930e
Revert "Revert "removed unaffected apis since they aren't going to be…
tonykslee Apr 21, 2021
a17c14a
created unique names for definitions in api definition
tonykslee Apr 22, 2021
bf36c1f
updated definition names
tonykslee Apr 22, 2021
14a752c
removed 2020-02-12 api version
tonykslee Apr 22, 2021
87ecb9d
returned the 2020-02-12 package
tonykslee Apr 22, 2021
e856781
renamed definitions in workbooks and myworkbooks api
tonykslee Apr 22, 2021
809ac99
Update specification/applicationinsights/resource-manager/readme.md
kairu-ms Apr 23, 2021
4884490
Merge branch 'master' into users/tolee/newApiVersion
kairu-ms Apr 26, 2021
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
@@ -0,0 +1,68 @@
{
"parameters": {
"api-version": "2021-03-08",
"resourceGroupName": "my-resource-group",
"resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"subscriptionId": "00000000-0000-0000-0000-00000000",
"workbookProperties": {
"id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"location": "west us",
"kind": "user",
"properties": {
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"displayName": "Blah Blah Blah",
"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"
},
"tags": [
"TagSample01",
"TagSample02"
]
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960",
"type": "Microsoft.Insights/myworkbooks",
"location": "westus",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"kind": "user",
"properties": {
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"displayName": "Blah Blah Blah",
"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": "ME",
"category": "workbook",
"storageUri": null
},
"tags": [
"TagSample01",
"TagSample02"
]
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960",
"type": "",
"location": "westus",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"kind": "user",
"properties": {
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"displayName": "Blah Blah Blah",
"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": "ME",
"category": "workbook",
"storageUri": null
},
"tags": [
"TagSample01",
"TagSample02"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2021-03-08",
"subscriptionId": "subid",
"resourceGroupName": "my-resource-group",
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2021-03-08",
"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/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"type": "Microsoft.Insights/myworkbooks",
"location": "westus",
"kind": "user",
"properties": {
"displayName": "My New Workbook",
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"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": "ME",
"category": "workbook",
"timeModified": null,
"storageUri": null
},
"tags": [
"TagSample01",
"TagSample02"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"api-version": "2021-03-08",
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
"resourceGroupName": "my-resource-group",
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
"workbookProperties": {
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"location": "west us",
"tags": [
"TagSample01",
"TagSample02"
],
"kind": "user",
"properties": {
"displayName": "Blah Blah Blah",
"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": "ME",
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"category": "workbook",
"storageUri": null
}
}
},
"responses": {
"201": {
"body": {
"id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"type": "Microsoft.Insights/myworkbooks",
"location": "westus",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"tags": [
"TagSample01",
"TagSample02"
],
"kind": "user",
"properties": {
"displayName": "Blah Blah Blah",
"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": "ME",
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"category": "workbook",
"storageUri": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"api-version": "2021-03-08",
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
"resourceGroupName": "my-resource-group",
"category": "workbook"
},
"responses": {
"200": {
"body": [
{
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"type": "Microsoft.Insights/myworkbooks",
"location": "westus",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"tags": [],
"kind": "user",
"properties": {
"displayName": "My Workbook 1",
"userId": "userId",
"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": "ME",
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"category": "workbook",
"timeModified": null,
"storageUri": null
}
},
{
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"type": "Microsoft.Insights/myworkbooks",
"location": "westus",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"kind": "user",
"tags": [
"SampleTag01",
"SampleTag2"
],
"properties": {
"displayName": "My Workbook 2",
"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": "ME",
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/MyGroup/providers/Microsoft.Web/sites/MyTestApp-CodeLens",
"category": "workbook",
"timeModified": null,
"storageUri": null
}
}
],
"nextLink": null
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2021-03-08",
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
"resourceGroupName": "my-resource-group",
"category": "workbook"
},
"responses": {
"200": {
"body": [],
"nextLink": null
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parameters": {
"api-version": "2021-03-08",
"resourceGroupName": "my-resource-group",
"resourceName": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"subscriptionId": "subid",
"sourceId": "/subscriptions/00000000-0000-0000-0000-00000000/resourcegroups/MyGroup",
"workbookProperties": {
"id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"location": "west us",
"name": "Blah Blah Blah",
"kind": "shared",
"properties": {
"displayName": "tttt",
"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",
"TagSample02"
]
}
},
"responses": {
"200": {
"body": {
"id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"type": "",
"location": "westus",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"kind": "shared",
"properties": {
"displayName": "Blah Blah Blah",
"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": "ME",
"category": "workbook",
"timeModified": null,
"storageUri": null,
"description": "Sample workbook",
"revision": "1e2f8435b98248febee70c64ac22e1bb"
},
"tags": [
"TagSample01",
"TagSample02"
]
}
},
"201": {
"body": {
"id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"type": "",
"location": "westus",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"kind": "shared",
"properties": {
"displayName": "Blah Blah Blah",
"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": "ME",
"category": "workbook",
"timeModified": null,
"storageUri": null,
"description": "Sample workbook",
"revision": "1e2f8435b98248febee70c64ac22e1bb"
},
"tags": [
"TagSample01",
"TagSample02"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2021-03-08",
"subscriptionId": "subid",
"resourceGroupName": "my-resource-group",
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2021-03-08",
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
"resourceGroupName": "my-resource-group",
"resourceName": "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"
},
"responses": {
"200": {
"body": {
"id": "c0deea5e-3344-40f2-96f8-6f8e1c3b5722",
"name": "deadb33f-8bee-4d3b-a059-9be8dac93960",
"type": "",
"location": "westus",
"kind": "shared",
"properties": {
"displayName": "My New 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": "ME",
"category": "workbook",
"timeModified": null,
"storageUri": null,
"description": "Sample workbook",
"revision": "1e2f8435b98248febee70c64ac22e1bb"
},
"tags": [
"TagSample01",
"TagSample02"
]
}
}
}
}
Loading