In my
previous article, we learned to create an Azure resource group and how to add to a resource into the resource group with different approaches. But there is something missing that we have to do so that we can organize our resources logically. For example, for targeted tracking and cost calculation. Azure resource manager offers a solution for this, which is Azure Resource Tags. Azure resource tags are applied to Azure resource groups, resources, and subscriptions directly. Tags are based on Key/Value pairs which are used to select the resources or resource groups from the console, Azure portal, PowerShell, or the API. In a nutshell, tags are useful for billing or management.
For example, you can apply the name "Environment" and the value "Production" to all the resources in production.