Skip to content

Commit b5cf2f8

Browse files
authored
Merge pull request #180290 from JnHs/jh-portal-progdash
updates based on feedback
2 parents 9014d28 + 77db397 commit b5cf2f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/azure-portal/azure-portal-dashboards-create-programmatically.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Programmatically create Azure Dashboards
33
description: Use a dashboard in the Azure portal as a template to programmatically create Azure Dashboards. Includes JSON reference.
44
ms.topic: how-to
5-
ms.date: 10/19/2021
5+
ms.date: 11/18/2021
66
---
77

88
# Programmatically create Azure dashboards
@@ -41,6 +41,8 @@ Sharing the dashboard only takes a few seconds. When it's done, the next step is
4141

4242
:::image type="content" source="media/azure-portal-dashboards-create-programmatically/download-command.png" alt-text="Screenshot of the command to export the JSON representation of a template in the Azure portal.":::
4343

44+
You can also retrieve information about the dashboard resource programmatically by using [REST APIs](/rest/api/resources/Resources/Get) or other methods.
45+
4446
## Create a template from the JSON
4547

4648
The next step is to create a template from this JSON. You'll be able to use the template programmatically with the appropriate resource management APIs, command-line tools, or within the portal.
@@ -356,7 +358,7 @@ This example is similar to what you'll see if you followed along with this artic
356358
"id": "/subscriptions/6531c8c8-df32-4254-d717-b6e983273e5d/resourceGroups/dashboards/providers/Microsoft.Portal/dashboards/aa9786ae-e159-483f-b05f-1f7f767741a9",
357359
"name": "aa9786ae-e159-483f-b05f-1f7f767741a9",
358360
"type": "Microsoft.Portal/dashboards",
359-
"location": "eastasia",
361+
"location": "westus",
360362
"tags": {
361363
"hidden-title": "Created via API"
362364
}

0 commit comments

Comments
 (0)