Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 3.61 KB

devtest-lab-add-tag.md

File metadata and controls

65 lines (47 loc) · 3.61 KB
title description services documentationcenter author manager editor ms.assetid ms.service ms.workload ms.tgt_pltfrm ms.devlang ms.topic ms.date ms.author
Add tags to a lab in Azure DevTest Labs | Microsoft Docs
Learn how to add a tag to a lab in Azure DevTest Labs
devtest-lab,virtual-machines
na
tomarcher
douge
dc5b327a-62e4-41bc-80ef-deb3c23d51b2
devtest-lab
na
na
na
article
09/07/2017
tarcher

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
  • NICs
  • 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

  1. Sign in to the Azure portal.

  2. If necessary, select More Services, and then select DevTest Labs from the list. Your lab might already be shown on the Dashboard under All Resources.

  3. From the list of labs, select the lab in which you want to add or manage tags.

  4. On the lab's Overview area, select Configuration and policies.

    Configuration and policies button

  5. On the left under MANAGE, select Tags.

  6. 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.

    Manage tags

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.

[!INCLUDE devtest-lab-try-it-out]

Next steps