-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into contoso-stable
- Loading branch information
Showing
30 changed files
with
2,722 additions
and
2 deletions.
There are no files selected for viewing
232 changes: 232 additions & 0 deletions
232
...on/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_CreateOrUpdate.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,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" | ||
} |
14 changes: 14 additions & 0 deletions
14
specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Delete.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,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" | ||
} |
61 changes: 61 additions & 0 deletions
61
specification/portal/Dashboard.Management/examples/2025-04-01-preview/Dashboards_Get.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,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" | ||
} |
Oops, something went wrong.