Filtering a List of Resources by Tag
In a list of resources on Private Cloud Appliance, learn how to show only resources that have a specified tag key or tag (tag key and value).
-
Display a list of resources.
-
At the top of the list, select the Select Tag(s) button.
-
Do the following in the Filter by Tag dialog box:
-
Select either Defined Tag or Free-Form Tag.
-
If you select Defined Tag, then select a Tag Namespace and a Tag Key.
-
If you select Free-Form Tag, then select a Tag Key.
-
-
Optionally enter values in the Select Values field.
-
Leave the Select Values field blank. This option returns all resources that are tagged with the selected namespace and key (for defined tags) or returns all resources that are tagged with the specified key (for free-form tags), regardless of the tag value.
-
Enter values in the Select Values field. This option returns all resources that are tagged with any of the tag value(s) that you enter. Select a value or enter a single value in the text box. To specify multiple values for the same namespace and key, enter Enter or Return, and then enter a new value. Each value is displayed below the text box.
-
-
Click Filter by Tag.
The filter that is currently applied is displayed on the Select Tag(s) button.
-
-
To filter by multiple tags, click the + on the Select Tag(s) button, and repeat the preceding step.
-
To remove a filter, click the filter definition on the Select Tag(s) button.
-
Use the list command for the resource to show each resource in the specified compartment.
The information for each resource shows the existing defined tags and free-form tags.
Use tools for your operating system to filter the list.
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
-
Use the list operation for the resource to show each resource in the specified compartment.
The information for each resource shows the existing defined tags and free-form tags.
-
Use tools for your operating system to filter the list.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
-