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.

We 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:

  1. Open your Azure management portal at https://portal.azure.com.
  2. In the portal, click on Resource groups:
  1. On the Resource groups blade, click the acdppbook name field:
  1. In the navigation section on the Resource groups dashboard, click on the Tags button:
  1. Now open the Tags blade. In the Key textbox, type Name, and then in the Value textbox, type ppbook. After this, click on Save:
  1. Go back to the Resource groups dashboard. In the resource grid, select the acdppbookstor row, and then click the ... field:
  1. In the navigation section of the Resources dashboard (acdppbookstor), click the Tags button:
  1. On the Tags blade, in the Key box, type again Name, and then in the Value box, type ppbook. Click Save:
  1. In the portal, click on More services, scroll down the list, and then click on Tags:
  1. In the Tags blade, search the row for your tag Name: ppbook, and then click the ... field. Now you can see all the resources that are associated with the tag:
  1. You can also see all the resources that are associated with the tag, by clicking the list field on the Tags dashboard of your resources:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.152.157