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/devtest-labs/devtest-lab-configure-cost-management.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ Tag inheritance can be enabled either with billing properties OR Azure Policies.
30
30
31
31
If updated correctly using the first method, you see that Tag Inheritance now shows **Enabled**:
32
32
33
-

33
+
:::image type="content" source="./media/devtest-lab-configure-cost-management/tag-inheritance.png" alt-text="Screenshot that shows Tag Inheritance is enabled.":::
34
34
35
35
## Step 2: Apply Tags to DevTest Labs
36
36
37
37
DevTest Labs automatically propagates tags applied at the lab level to the resources that are created by the lab. This includes virtual machines (tags are applied to the billable resources) and environments (tags are applied to the resource group for the environment). Follow the steps in this article to apply tags to your labs: [Add tags to a lab](devtest-lab-add-tag.md).
38
38
39
-

39
+
:::image type="content" source="./media/devtest-lab-configure-cost-management/devtest-tags.png" alt-text="Screenshot that shows tags in DevTest Labs in the Azure portal.":::
40
40
41
41
It’s important to remember that tags are propagated for any resources created _after_ the tag has been applied to the lab. If there are _existing resources_ that must be updated with the new tags, there's a script available to propagate the new/updated tags correctly. If you have existing resources and want to apply the lab tags, use the [Update-DevTestLabsTags script located in the DevTest Labs GitHub Repo](https://github.com/Azure/azure-devtestlab/tree/phauge/update-dtl-tags/samples/DevTestLabs/Scripts/UpdateDtlTags).
42
42
@@ -52,9 +52,9 @@ For a quick view of costs per lab, see the following steps:
52
52
53
53
1. Select **Cost Management** and then on **Cost analysis**
54
54
1. Select **Daily Costs**
55
-

55
+
:::image type="content" source="./media/devtest-lab-configure-cost-management/daily-costs.png" alt-text="Screenshot that shows the daily costs card.":::
56
56
1. On the **Custom: Cost Analysis** page, select the **Group By** filter, choose **Tag** and then the Tag Name (like "CostCenter") to group by
57
-

57
+
:::image type="content" source="./media/devtest-lab-configure-cost-management/tag.png" alt-text="Screenshot that shows searching for tag in the group by filter.":::
58
58
59
59
The resulting view shows costs in the subscription grouped by the tag (which is grouping by the lab & its resources).
0 commit comments