Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
184d85d
stable 2020-11-20 workbooktemplates
vutran01 Apr 2, 2021
d6da370
ref examples in readme
vutran01 Apr 7, 2021
b458d12
fix path
vutran01 Apr 7, 2021
34d3125
add swagger 2.0
vutran01 Apr 7, 2021
3c2c8b6
fix lintdiff failures
vutran01 Apr 8, 2021
e41cf1f
update name
vutran01 Apr 8, 2021
19565d7
Merge branch 'master' into vutran/workbooktemplates
kairu-ms Apr 14, 2021
fc73650
Update readme.python.md
kairu-ms Apr 14, 2021
03a5bef
Update readme.md
kairu-ms Apr 14, 2021
f444d05
Update readme.md
kairu-ms Apr 14, 2021
d692a11
Update readme.python.md
kairu-ms Apr 14, 2021
c7d7d15
Update readme.python.md
kairu-ms Apr 15, 2021
14f7246
update WorkbookError to WorkbookTemplateError
vutran01 Apr 21, 2021
06a751d
Merge branch 'master' into vutran/workbooktemplates
vutran01 Apr 21, 2021
add35e2
Merge branch 'vutran/workbooktemplates' of https://github.com/vutran0…
vutran01 Apr 21, 2021
376df90
Merge branch 'master' into vutran/workbooktemplates
kairu-ms Apr 26, 2021
fb2e744
Update readme.md
kairu-ms Apr 26, 2021
036595d
add templateData examples
vutran01 May 13, 2021
8991cdd
Merge branch 'vutran/workbooktemplates' of https://github.com/vutran0…
vutran01 May 13, 2021
b9de983
Update specification/applicationinsights/resource-manager/Microsoft.I…
vutran01 May 13, 2021
4fa0cd6
Update specification/applicationinsights/resource-manager/Microsoft.I…
vutran01 May 13, 2021
f9c9fe5
updated errorfiledcontract name
vutran01 May 13, 2021
1f762ed
Merge branch 'vutran/workbooktemplates' of https://github.com/vutran0…
vutran01 May 13, 2021
dd05975
Merge branch 'master' into vutran/workbooktemplates
vutran01 May 14, 2021
e7eefa9
make prettier
vutran01 May 14, 2021
90f81e6
added templateData samples
vutran01 May 17, 2021
bff2e67
update to only workbooktemplates
vutran01 May 19, 2021
bf22747
rename package-2020-11-20 to package-2020-11-only
vutran01 May 21, 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,151 @@
{
"parameters": {
"api-version": "2020-11-20",
"resourceGroupName": "my-resource-group",
"resourceName": "testtemplate2",
"subscriptionId": "subid",
"workbookTemplateProperties": {
"location": "west us",
"properties": {
"priority": 1,
"author": "Contoso",
"galleries": [
{
"name": "Simple Template",
"category": "Failures",
"type": "tsg",
"resourceType": "microsoft.insights/components",
"order": 100
}
],
"templateData": {
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "## New workbook\n---\n\nWelcome to your new workbook. This area will display text formatted as markdown.\n\n\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."
},
"name": "text - 2"
},
{
"type": 3,
"content": {
"version": "KqlItem/1.0",
"query": "union withsource=TableName *\n| summarize Count=count() by TableName\n| render barchart",
"size": 1,
"exportToExcelOptions": "visible",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
},
"name": "query - 2"
}
],
"styleSettings": {},
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
}
},
"tags": null
}
},
"responses": {
"200": {
"body": {
"name": "testtemplate2",
"location": "westeurope",
"tags": null,
"type": "microsoft.insights/workbooktemplates",
"id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
"properties": {
"priority": 1,
"author": "Contoso",
"templateData": {
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "## New workbook\n---\n\nWelcome to your new workbook. This area will display text formatted as markdown.\n\n\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."
},
"name": "text - 2"
},
{
"type": 3,
"content": {
"version": "KqlItem/1.0",
"query": "union withsource=TableName *\n| summarize Count=count() by TableName\n| render barchart",
"size": 1,
"exportToExcelOptions": "visible",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
},
"name": "query - 2"
}
],
"styleSettings": {},
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
},
"galleries": [
{
"name": "Simple Template",
"category": "Failures",
"order": 100,
"type": "tsg",
"resourceType": "microsoft.insights/components"
}
],
"localized": null
}
}
},
"201": {
"body": {
"name": "testtemplate2",
"location": "westeurope",
"tags": null,
"type": "microsoft.insights/workbooktemplates",
"id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
"properties": {
"priority": 1,
"author": "Contoso",
"templateData": {
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "## New workbook\n---\n\nWelcome to your new workbook. This area will display text formatted as markdown.\n\n\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."
},
"name": "text - 2"
},
{
"type": 3,
"content": {
"version": "KqlItem/1.0",
"query": "union withsource=TableName *\n| summarize Count=count() by TableName\n| render barchart",
"size": 1,
"exportToExcelOptions": "visible",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
},
"name": "query - 2"
}
],
"styleSettings": {},
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
},
"galleries": [
{
"name": "Simple Template",
"category": "Failures",
"order": 100,
"type": "tsg",
"resourceType": "microsoft.insights/components"
}
],
"localized": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2020-11-20",
"subscriptionId": "subid",
"resourceGroupName": "my-resource-group",
"resourceName": "my-template-resource"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parameters": {
"api-version": "2020-11-20",
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
"resourceGroupName": "my-resource-group",
"resourceName": "my-resource-name"
},
"responses": {
"200": {
"body": {
"name": "my-resource-name",
"type": "microsoft.insights/workbooktemplate",
"location": "westus",
"id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name",
"properties": {
"priority": 1,
"author": "Contoso",
"galleries": [
{
"name": "Simple Template",
"category": "Failures",
"type": "tsg",
"resourceType": "microsoft.insights/components",
"order": 100
}
],
"templateData": {
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "## New workbook\n---\n\nWelcome to your new workbook. This area will display text formatted as markdown.\n\n\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."
},
"name": "text - 2"
},
{
"type": 3,
"content": {
"version": "KqlItem/1.0",
"query": "union withsource=TableName *\n| summarize Count=count() by TableName\n| render barchart",
"size": 1,
"exportToExcelOptions": "visible",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
},
"name": "query - 2"
}
],
"styleSettings": {},
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
}
},
"tags": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"parameters": {
"api-version": "2020-11-20",
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
"resourceGroupName": "my-resource-group",
"resourceName": "my-template-resource",
"workbookTemplateProperties": {
"name": "display-name-of-template",
"location": "west us",
"type": "microsoft.insights/workbooktemplates",
"properties": {
"priority": 1,
"author": "Contoso",
"galleries": [
{
"name": "Simple Template",
"category": "Failures",
"type": "tsg",
"resourceType": "microsoft.insights/components",
"order": 100
}
],
"templateData": {
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "## New workbook\n---\n\nWelcome to your new workbook. This area will display text formatted as markdown.\n\n\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."
},
"name": "text - 2"
},
{
"type": 3,
"content": {
"version": "KqlItem/1.0",
"query": "union withsource=TableName *\n| summarize Count=count() by TableName\n| render barchart",
"size": 1,
"exportToExcelOptions": "visible",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
},
"name": "query - 2"
}
],
"styleSettings": {},
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
}
},
"tags": null
}
},
"responses": {
"200": {
"body": {
"name": "testtemplate2",
"location": "westeurope",
"tags": null,
"type": "microsoft.insights/workbooktemplates",
"id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
"properties": {
"priority": 1,
"author": "Contoso",
"templateData": {
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "## New workbook\n---\n\nWelcome to your new workbook. This area will display text formatted as markdown.\n\n\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."
},
"name": "text - 2"
},
{
"type": 3,
"content": {
"version": "KqlItem/1.0",
"query": "union withsource=TableName *\n| summarize Count=count() by TableName\n| render barchart",
"size": 1,
"exportToExcelOptions": "visible",
"queryType": 0,
"resourceType": "microsoft.operationalinsights/workspaces"
},
"name": "query - 2"
}
],
"styleSettings": {},
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json"
},
"galleries": [
{
"name": "Simple Template",
"category": "Failures",
"order": 100,
"type": "tsg",
"resourceType": "microsoft.insights/components"
}
],
"localized": null
}
}
}
}
}
Loading