Skip to main content
BlueXP remediation

Manage tags for your resources

Contributors netapp-tonacki

You can view, add, modify, and delete the tags assigned to your existing resources using the BlueXP Tagging service. This allows you to organize and simplify the management of your resources.

Search for resources that have certain tags

If you want to see all the resources that have a certain tag, or a certain tag and tag key value, you can search for those tags. You can search across all resources, or just within certain resource categories.

Steps
  1. Select Health > Remediation and click the Tags tab.

  2. If necessary, choose the credentials for a specific cloud provider in the Select credentials field.

  3. In the Resource Type field, select the resource, for example, ONTAP:CVO:VOLUME to search across all Cloud Volumes ONTAP volumes.

  4. In the Tag Key field, select the tag, for example, Env to restrict the search to volumes with the "Env" tag.

  5. In the Tag Value field, select the key value, for example, production to restrict the search to volumes with the tag name "Env" and the tag value "production".

    A screenshot of selecting a single set of search criteria to return resource with a specific tag key and tag value.

  6. Click the screenshot plus icon to add this search criteria to the Search area.

    A screenshot of the tag search criteria added to the search line.

  7. If you are done with your search, click Search and the search results appear in the Resources section.

    A screenshot of the results for resources that meet the tag search criteria.

    If you want to add additional search criteria, follow steps 3 through 6 again and then click Search.

Search rules

The following rules apply when defining your search:

  • After choosing a Resource Type, you can leave the Tag Key field and Tag Value fields empty if you want to list all the resources that have any key and any key value.

  • You can choose a single search, or you can define multiple searches to refine the results in the Resource section.

  • When defining multiple sets of search criteria:

    • If the criteria for two searches are for different resource types, then this is treated as an "OR" operation and the result shows the resources from both searches. For example, the following search returns all Azure NetApp Files volumes that have the "Environment:demo" tag value and all Cloud Volumes ONTAP volumes that have the "Environment:demo" tag value.

      screenshot tags search or

    • If the criteria for two searches are for the same resource type, then this is treated as an "AND" operation and the result shows only the resources that match both searches. For example, the following search returns Azure NetApp Files volumes that have both the "Environment:demo" tag value and "Group:Finance" tag value.

      screenshot tags search and

  • If you have defined multiple search criteria and then decide you want to remove one, just click the button delete tag search to remove it from the Search area.

Add tags to existing resources

You can apply tags to a single resource or to multiple resources. The resources could have existing tags or have no current tags.

Steps
  1. From the Tags tab, create your search criteria and click Search.

  2. Select the resource, or resources, that you want to tag.

    • To select all resources on the page, check the box in the title row (button select all resources).

    • To select multiple resources, check the box for each resource (button backup 1 volume).

    • To select a single resource, click the plus button icon for the resource.

      A screenshot that shows how to select a single resource, multiple resources, or all resources.

  3. Click Manage Tags and the Resource Tags dialog appears. Any existing tags will appear in this dialog.

    A screenshot that shows the resource tag dialog where you can view the currently assigned tags and add new tags.

  4. Click Add New Tag and a blank Tag Key and Tag Value row appears in the dialog.

  5. Enter the tag key and tag value. Add more tags at this time if you want more tags on this resource, and then click Review and Apply.

  6. If your changes look correct in the Reviewing page, click Save and the new tag is added to the resource, or to all selected resources.

Change tag values for a resource

You can change the tags that are assigned to resources, and you can change the tag value that is applied to an existing tag.

Steps
  1. From the Tags tab, create your search criteria and click Search.

  2. Select the resource, or resources, on which you want to change tags.

  3. Click Manage Tags and the Resource Tags dialog appears.

    A screenshot showing how to modify a tag from a resource

  4. Enter a new value for the tag value and click Review and Apply.

  5. If your change looks correct in the Reviewing page, click Save and the tag value is changed for the resource, or for all selected resources.

Delete tags from resources

You can delete a tag key/value pair from a single resource or from multiple resources.

Steps
  1. From the Tags tab, create your search criteria and click Search.

  2. Select the resource, or resources, from which you want to remove tags.

  3. Click Manage Tags and the Resource Tags dialog appears.

    A screenshot showing how to delete a tag from a resource

  4. Click the button delete tag pair for the tag key/value pair you want to delete and the row is removed, and then click Review and Apply.

  5. If your change looks correct in the Reviewing page, click Save and the tag key/value pair is removed from the resource, or from all selected resources.