You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/template-tutorial-add-tags.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,33 +2,33 @@
2
2
title: Tutorial - add tags to resources in template
3
3
description: Add tags to resources that you deploy in your Azure Resource Manager template (ARM template). Tags let you logically organize resources.
4
4
author: mumian
5
-
ms.date: 03/27/2020
5
+
ms.date: 08/22/2022
6
6
ms.topic: tutorial
7
7
ms.author: jgao
8
8
ms.custom:
9
9
---
10
10
11
11
# Tutorial: Add tags in your ARM template
12
12
13
-
In this tutorial, you learn how to add tags to resources in your Azure Resource Manager template (ARM template). [Tags](../management/tag-resources.md)help you logically organize your resources. The tag values show up in cost reports. This tutorial takes **8 minutes** to complete.
13
+
In this tutorial, you learn how to add tags to resources in your Azure Resource Manager template (ARM template). [Tags](../management/tag-resources.md)are metadata elements made up of key-value pairs that help you identify resources and show up in cost reports. This instruction takes **8 minutes** to complete.
14
14
15
15
## Prerequisites
16
16
17
-
We recommend that you complete the [tutorial about Quickstart templates](template-tutorial-quickstart-template.md), but it's not required.
17
+
We recommend that you complete the [tutorial about Quickstart Templates](template-tutorial-quickstart-template.md), but it's not required.
18
18
19
-
You must have Visual Studio Code with the Resource Manager Tools extension, and either Azure PowerShell or Azure CLI. For more information, see [template tools](template-tutorial-create-first-template.md#get-tools).
19
+
You need to have Visual Studio Code with the Resource Manager Tools extension and either Azure PowerShell or Azure Command-Line Interface (CLI). For more information, see [template tools](template-tutorial-create-first-template.md#get-tools).
20
20
21
21
## Review template
22
22
23
-
Your previous template deployed a storage account, App Service plan, and web app.
23
+
Your previous template deployed a storage account, an App Service plan, and a web app.
After deploying these resources, you might need to track costs and find resources that belong to a category. You can add tags to help solve these issues.
27
+
After you deploy these resources, you might need to track costs and find resources that belong to a category. You can add tags to help solve these issues.
28
28
29
29
## Add tags
30
30
31
-
You tag resources to add values that help you identify their use. For example, you can add tags that list the environment and the project. You could add tags that identify a cost center or the team that owns the resource. Add any values that make sense for your organization.
31
+
You tag resources to add values that help you identify their use. You can add tags that list the environment and the project. You can also add them to identify a cost center or the team that owns the resource. Add any values that make sense for your organization.
32
32
33
33
The following example highlights the changes to the template. Copy the whole file and replace your template with its contents.
34
34
@@ -54,7 +54,7 @@ New-AzResourceGroupDeployment `
54
54
55
55
# [Azure CLI](#tab/azure-cli)
56
56
57
-
To run this deployment command, you must have the [latest version](/cli/azure/install-azure-cli) of Azure CLI.
57
+
To run this deployment command, you need to have the [latest version](/cli/azure/install-azure-cli) of Azure CLI.
58
58
59
59
```azurecli
60
60
az deployment group create \
@@ -67,7 +67,7 @@ az deployment group create \
67
67
---
68
68
69
69
> [!NOTE]
70
-
> If the deployment failed, use the `verbose` switch to get information about the resources being created. Use the `debug` switch to get more information for debugging.
70
+
> If the deployment fails, use the `verbose` switch to get information about the resources you're creating. Use the `debug` switch to get more information for debugging.
71
71
72
72
## Verify deployment
73
73
@@ -84,16 +84,16 @@ You can verify the deployment by exploring the resource group from the Azure por
84
84
85
85
If you're moving on to the next tutorial, you don't need to delete the resource group.
86
86
87
-
If you're stopping now, you might want to clean up the resources you deployed by deleting the resource group.
87
+
If you're stopping now, you might want to delete the resource group.
88
88
89
-
1. From the Azure portal, select **Resource group** from the left menu.
90
-
2.Enter the resource group name in the **Filter by name** field.
91
-
3.Select the resource group name.
89
+
1. From the Azure portal, select **Resource groups** from the left menu.
90
+
2.Type the resource group name in the **Filter for any field...** text field.
91
+
3.Check the box next to **myResourceGroup** and select **myResourceGroup** or your resource group name.
92
92
4. Select **Delete resource group** from the top menu.
93
93
94
94
## Next steps
95
95
96
-
In this tutorial, you added tags to the resources. In the next tutorial, you'll learn how to use parameter files to simplify passing in values to the template.
96
+
In this tutorial, you add tags to the resources. In the next tutorial, you learn how to use parameter files to simplify passing in values to the template.
0 commit comments