Tagging in the Azure resource manager
We have just learned how to create an Azure resource group, and how to add an Azure resource. What we are still missing? Short answer: we still need a way to organize our resources logically, for example, for the calculation of cost or for a targeted tracking.
The Azure resource manager offers a solution for this—Azure resource tags. Azure resource tags are any key/value pairs that appear useful to describe a resource.
Let's see an example:
Key | Value |
Department | Management |
Project | ppbook |
Tenant | ACD |
Once you have defined a resource tag, you can use this as a filter in Azure PowerShell or in the Azure Billing APIs (Azure Usage API, Azure RateCard API). Up to 15 tags can be defined per resource.
I will show you the necessary work steps on the example of tagging an Azure storage account, but note that the description of the procedure applies to all other resource types in the same form:
- Open your Azure management portal at https://portal.azure.com.
- In the portal, click...