Skip to content

Commit 1109b7d

Browse files
Peer review feedback.
1 parent 22b00c6 commit 1109b7d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Programmatically create Azure Dashboards
3-
description: You can use a dashboard in the Azure portal as a template to programmatically create Azure Dashboards. Includes JSON reference.
3+
description: Use a dashboard in the Azure portal as a template to programmatically create Azure Dashboards. Includes JSON reference.
44
services: azure-portal
55
documentationcenter: ''
66
author: adamabmsft
@@ -52,7 +52,7 @@ After you configure the dashboard, the next steps are to publish the dashboard u
5252

5353
![sharing a dashboard](./media/azure-portal-dashboards-create-programmatically/share-command.png)
5454

55-
Selecting **Share** command prompts you to choose which subscription and resource group to publish to. You must have write access to the subscription and resource group that you choose. For more information, see [Add or remove role assignments using Azure RBAC and the Azure portal](https://docs.microsoft.com/azure/role-based-access-control/role-assignments-portal).
55+
Selecting **Share** prompts you to choose which subscription and resource group to publish to. You must have write access to the subscription and resource group that you choose. For more information, see [Add or remove role assignments using Azure RBAC and the Azure portal](https://docs.microsoft.com/azure/role-based-access-control/role-assignments-portal).
5656

5757
![make changes to sharing and access](./media/azure-portal-dashboards-create-programmatically/sharing-and-access.png)
5858

@@ -62,9 +62,9 @@ Publishing only takes a few seconds. When it's done, the next step is to go to
6262

6363
![browse Resource Explorer](./media/azure-portal-dashboards-create-programmatically/search-resource-explorer.png)
6464

65-
From the resource explorer, navigate to the subscription and resource group that you chose. Next, click on the newly published dashboard resource to reveal the JSON.
65+
From the resource explorer, navigate to the subscription and resource group that you chose. Next, select the newly published dashboard resource to reveal the JSON.
6666

67-
![view .json in Resource Explorer](./media/azure-portal-dashboards-create-programmatically/resource-explorer-json-detail.png)
67+
![view JSON in Resource Explorer](./media/azure-portal-dashboards-create-programmatically/resource-explorer-json-detail.png)
6868

6969
## Create a template from the JSON
7070

@@ -74,7 +74,7 @@ You don't have to fully understand the dashboard JSON structure to create a temp
7474

7575
`/subscriptions/6531c8c8-df32-4254-d717-b6e983273e5d/resourceGroups/contoso/providers/Microsoft.Compute/virtualMachines/myVM1`
7676

77-
To publish this dashboard for any virtual machine in the future, you need to parameterize every occurrence of this string within the JSON.
77+
To publish this dashboard for any virtual machine in the future, parameterize every occurrence of this string within the JSON.
7878

7979
There are two approaches for APIs that create resources in Azure:
8080

@@ -101,7 +101,7 @@ Example JSON property converted to a parameterized version based on template par
101101
id: "[resourceId(parameters('virtualMachineResourceGroup'), 'Microsoft.Compute/virtualMachines', parameters('virtualMachineName'))]"
102102
```
103103

104-
You also need to declare some required template metadata and the parameters at the top of the json template like this:
104+
Declare some required template metadata and the parameters at the top of the JSON template like this:
105105

106106
```json
107107

@@ -133,7 +133,7 @@ Once you've configured your template, deploy it using any of the following metho
133133
* [Azure CLI](https://docs.microsoft.com/cli/azure/group/deployment#az-group-deployment-create)
134134
* [The Azure portal template deployment page](https://portal.azure.com/#create/Microsoft.Template)
135135

136-
Here are two versions of our example dashboard JSON. The first is the version that we exported from the portal that was already bound to a resource. The second is the template version that can be programmatically bound to any VM and deployed using Azure Resource Manager.
136+
Here are two versions of our example dashboard JSON. The first is the version that we exported from the portal that was already bound to a resource. The second is the template version that can be programmatically bound to any virtual machine and deployed using Azure Resource Manager.
137137

138138
## JSON representation of our example dashboard before templating
139139

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ To change the size of a tile or to rearrange the tiles on a dashboard, follow th
8686

8787
### Additional tile configuration
8888

89-
Some tiles may need more configuration to show the information you want. For example, the **Metrics chart** tile has to be set up to display a metric from **Azure Monitor**. You can also customize tile data to override the dashboard's default time settings.
89+
Some tiles might require more configuration to show the information you want. For example, the **Metrics chart** tile has to be set up to display a metric from **Azure Monitor**. You can also customize tile data to override the dashboard's default time settings.
9090

9191
Any tile that needs to be set up displays a **Configure tile** banner until you customize the tile. Select that banner, then do the required setup.
9292

0 commit comments

Comments
 (0)