Estimated time: 5 minutes
The goal of this task is to use ARM tags to group and manage resources. This includes assigning tags to resources and a resource group, and then using the tags to locate resources.
For this task, you will need to start with a resource group named task-tag-rg. The resource group should contain the following resources:
You can deploy the resources to your subscription by running the following from a bash cloud shell:
curl https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/deploy-3509T030-pre.sh | sh
The resources in the task-tag-rg resource group must be tagged with a cost center and project code. The resource group must be tagged with a production status code (Production, Test, or Development). To complete this requirement add the following tags:
Resource | Tag | Value |
---|---|---|
task-tag-rg | ProductionStatus | Development |
tag-rt | CostCenter | 101010 |
tag-rt | Project | Hybrid-net |
tag-nsg | CostCenter | 101010 |
tag-nsg | Project | Intranet |
tag-vnet | CostCenter | 10101 |
tag-vnet | Project** | Hybrid-net** |
For this requirement you need to find all resources that are part of the Hybrid-net project, and all resources that belong to cost center 10101. Use the tags blade of the Azure portal to quickly find these resources.
Once the task is complete, delete the task-tag-rg resource group.