Add tags to a lab in Azure DevTest Labs
You can create custom tags and apply them to your DevTest Labs resources to logically categorize your resources. Later, you can quickly and easily see all the resources in your subscription that have that tag. Tags are helpful when you need to organize resources for billing or management.
Resources that are supported by tags include
- Compute VMs
- IP addresses
- Load balancers
- Storage accounts
- Managed disks
You can apply tags when you Create a lab and later manage them through the Tags blade under Configuration and settings.
Every tag is made up of a name/value pair. For example, you might create a tag with the name costcenter that has a value of 34543. A tag such as this might help you later identify lab resources that are billable to this specific area of your organization. You get to choose names and values that make sense for how you want to organize your subscription.
Steps to manage tags in an existing lab
Sign in to the Azure portal.
If necessary, select All Services, and then select DevTest Labs from the list. Your lab might already be shown on the Dashboard under All Resources.
From the list of labs, select the lab in which you want to add or manage tags.
On the lab's Overview area, select Configuration and policies.
On the left under MANAGE, select Tags.
To create a new tag for this lab, enter a Name/Value pair and select Save. You can also select an existing tag from the list to view or manage the resources associated with that tag.
Understanding limitations to tags
The following limitations apply to tags:
- Each resource or resource group can have a maximum of 15 tag name/value pairs. This limitation applies only to tags directly applied to the resource group or resource. A resource group can contain many resources that each have 15 tag name/value pairs.
- The tag name is limited to 512 characters, and the tag value is limited to 256 characters. For storage accounts, the tag name is limited to 128 characters, and the tag value is limited to 256 characters.
- Tags applied to the resource group are not inherited by the resources in that resource group.
Use tags to organize your Azure resources provides greater details about using tags in Azure, including how to manage tags using PowerShell or Azure CLI.
Get started with Azure DevTest Labs
New to Azure? Create a free Azure account.
Already on Azure? Get started with your first lab in DevTest Labs.
- You can apply restrictions and conventions across your subscription by using customized policies. A policy that you define might require that all resources have a value for a particular tag. For more information, see Set policies and schedules.
- Explore the DevTest Labs Azure Resource Manager QuickStart template gallery.
Send feedback about: