Adding and removing labels for VMs and other resources

Your account administrator defines label categories and guidelines for label values.

  • A VM can have a maximum of 30 category/value pairs.
  • Each category can have a maximum of 2,000 values.
  • Values have a 255-character limit.
  • Values aren’t case-sensitive (for example, ABCD, abcd, and aBcD are treated as the same value and stored only once for a category).
  • Values can’t include semicolon (;) or comma (,) characters.
  • When a label is removed from a resource, the label category and value remain active in your account. Their history with the resource is retained.

For best practices about using labels, see Using labels for in-depth usage reporting.

Contents

Adding labels to VMs

To add a label to a VM

  1. From the environment details page, click VMs: Settings. The VM Settings page displays.
  2. On the VM Settings page, click the Labels tab.

    VM Labels

  3. Click add.
  4. From the Category drop-down menu, choose a label category.
  5. Type a Value for the label. For example, if you wanted to label a VM with its OS language, you could select Language and then type en-us.
  6. Click add.

Notes

  • Although you can add labels to individual VMs, they aren't used in reports.
  • Only multi value label categories can be used on VMs.

Removing labels from VMs

To remove a label from a VM

  1. From the environment details page, click VMs: Settings. The VM Settings page displays.
  2. On the VM Settings page, click the Labels tab.

    VM Labels

  3. Click delete next to the label you want to remove. A confirmation dialog displays.
  4. In the confirmation dialog, click Delete

Adding and removing labels for assets

Use the REST API to add and remove labels for assets. For more information, see Asset labels v2 resource.

Adding and removing labels for schedules

Use the REST API to add and remove labels for schedules. For more information, see Schedule labels v2 resource.