Each Azure resource has different parameters that need to be defined before deploying it. Resource tags provide the option to individually set parameters that are even pre-defined as mandatory. A maximum of 15 tags are available per resource and they have to follow the following pattern:
- Storage tag names have a maximum of 128 characters per tag and 256 characters per tag value
- For all other tags, 256 is the maximum number of characters per tag and 512 is the maximum number of characters per tag value
For applying tags, the minimum role permission is contributor. Tags are shown in the Azure service bill, too. Therefore, it can be used for basic billing filtering, too:
As you have seen, setting up tags is very easy.
For more information on setting up tags using PowerShell or Azure CLI, visit https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags.