Skip to content

Commit

Permalink
Merge branch 'main' into contoso-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder authored Mar 7, 2025
2 parents ab00990 + 4cecf11 commit 0e6c6f8
Show file tree
Hide file tree
Showing 30 changed files with 2,722 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
{
"parameters": {
"api-version": "2025-04-01-preview",
"dashboard": {
"location": "eastus",
"properties": {
"lenses": [
{
"order": 1,
"parts": [
{
"position": {
"colSpan": 3,
"rowSpan": 4,
"x": 1,
"y": 2
}
},
{
"position": {
"colSpan": 6,
"rowSpan": 6,
"x": 5,
"y": 5
}
}
]
},
{
"order": 2,
"parts": []
},
{
"order": 3,
"parts": [
{
"position": {
"x": 0,
"y": 0,
"colSpan": 6,
"rowSpan": 4
},
"metadata": {
"inputs": [],
"type": "Extension/HubsExtension/PartType/MarkdownPart",
"settings": {
"content": {
"content": "My content",
"title": "My title",
"subtitle": "My subtitle",
"markdownSource": 2,
"markdownUri": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/refs/heads/master/README.md"
}
}
}
}
]
}
],
"metadata": {
"metadata": {
"ColSpan": 2,
"RowSpan": 1,
"X": 4,
"Y": 3
}
}
},
"tags": {
"aKey": "aValue",
"anotherKey": "anotherValue"
}
},
"dashboardName": "testDashboard",
"resourceGroupName": "testRG",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"name": "testDashboard",
"type": "Microsoft.Portal/dashboards",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard",
"location": "eastus",
"properties": {
"lenses": [
{
"order": 1,
"parts": [
{
"position": {
"colSpan": 3,
"rowSpan": 4,
"x": 1,
"y": 2
}
},
{
"position": {
"colSpan": 6,
"rowSpan": 6,
"x": 5,
"y": 5
}
}
]
},
{
"order": 2,
"parts": []
},
{
"order": 3,
"parts": [
{
"position": {
"x": 0,
"y": 0,
"colSpan": 6,
"rowSpan": 4
},
"metadata": {
"inputs": [],
"type": "Extension/HubsExtension/PartType/MarkdownPart",
"settings": {
"content": {
"content": "My content",
"title": "My title",
"subtitle": "My subtitle",
"markdownSource": 2,
"markdownUri": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/refs/heads/master/README.md"
}
}
}
}
]
}
],
"metadata": {
"metadata": {
"ColSpan": 2,
"RowSpan": 1,
"X": 4,
"Y": 3
}
}
},
"tags": {
"aKey": "aValue",
"anotherKey": "anotherValue"
}
}
},
"201": {
"body": {
"name": "testDashboard",
"type": "Microsoft.Portal/dashboards",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard",
"location": "eastus",
"properties": {
"lenses": [
{
"order": 1,
"parts": [
{
"position": {
"colSpan": 3,
"rowSpan": 4,
"x": 1,
"y": 2
}
},
{
"position": {
"colSpan": 6,
"rowSpan": 6,
"x": 5,
"y": 5
}
}
]
},
{
"order": 2,
"parts": []
},
{
"order": 3,
"parts": [
{
"position": {
"x": 0,
"y": 0,
"colSpan": 6,
"rowSpan": 4
},
"metadata": {
"inputs": [],
"type": "Extension/HubsExtension/PartType/MarkdownPart",
"settings": {
"content": {
"content": "My content",
"title": "My title",
"subtitle": "My subtitle",
"markdownSource": 2,
"markdownUri": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/refs/heads/master/README.md"
}
}
}
}
]
}
],
"metadata": {
"metadata": {
"ColSpan": 2,
"RowSpan": 1,
"X": 4,
"Y": 3
}
}
},
"tags": {
"aKey": "aValue",
"anotherKey": "anotherValue"
}
}
}
},
"operationId": "Dashboards_CreateOrUpdate",
"title": "Create or update a Dashboard"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2025-04-01-preview",
"dashboardName": "testDashboard",
"resourceGroupName": "testRG",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {},
"204": {}
},
"operationId": "Dashboards_Delete",
"title": "Delete a Dashboard"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"parameters": {
"api-version": "2025-04-01-preview",
"dashboardName": "testDashboard",
"resourceGroupName": "testRG",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"name": "testDashboard",
"type": "Microsoft.Portal/dashboards",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard",
"location": "eastus",
"properties": {
"lenses": [
{
"order": 1,
"parts": [
{
"position": {
"colSpan": 3,
"rowSpan": 4,
"x": 1,
"y": 2
}
},
{
"position": {
"colSpan": 6,
"rowSpan": 6,
"x": 5,
"y": 5
}
}
]
},
{
"order": 2,
"parts": []
}
],
"metadata": {
"metadata": {
"ColSpan": 2,
"RowSpan": 1,
"X": 4,
"Y": 3
}
}
},
"tags": {
"aKey": "aValue",
"anotherKey": "anotherValue"
}
}
}
},
"operationId": "Dashboards_Get",
"title": "Get a Dashboard"
}
Loading

0 comments on commit 0e6c6f8

Please sign in to comment.