Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 6.0.0 - release -

Table of Contents

To show tag filters, we have illustrated a set of separate examples. Please begin each example with clear filters.

Within the tag search filters, the operation Any match is equivalent to the Boolean operator “OR” and the operation Strict is equivalent to “AND”.   

Filter by a key

This filter displays lists resources tagged with tag key "A". The platform does not use the operation ( The operations Any match or Strict)(OR) and Strict (AND) are not used.

Filter by keys

Enter To filter by keys, enter the Keys and select an operation. 

Select Any match  is the "or" case: (OR)  to list resources tagged with tag any of the keys, in this case, key "A" or "B".

Strict is the "and" case: Select Strict (AND) to list resources tagged with tag key all the keys, in this case "A" and "B".


Filter by values

Enter To filter by values, enter a list of Values and select an operation.

Select Any match is the "or" case: (OR) to list resources tagged with tags with any of the values, in this case values "1" or "2".

Strict is the "and" case: Select Strict (AND) to list resources tagged with tags with all of the values, in this case values "1" and "2".

Filter by a key and a value

Example: This filter lists resources tagged with tags with tags A=1. The platform does not use the operation (Any match or Strict)tag key "A1". The operations Any match (OR) and Strict (AND) are not used.

Filter by a concrete key and values

Enter a key and a list of values.

Only the "or" case is valid: resources tagged with A=1 or A=2. The "and" case is not allowed because you cannot add the same key to a resource more than once.

Image Removed

Complete example 'OR'

{
"tags" : { "A" : ["1", "2"], "B" : ["3"]},
"keys": ["C", "D"],
"values": ["4", "5"],
"operation": "OR"
}

A=1 OR A=2 OR B=3 OR C=* OR D=* OR *=4 OR *=5
Complete example 'AND'
{
"tags" : { "A" : ["1", "2"], "B" : ["3"]},
"keys": ["C", "D"],
"values": ["4", "5"],
"operation": "AND"
}

(A=1 OR A=2) AND B=3 AND C=* AND D=* AND *=4 AND *=5To filter by a key and multiple values, you can create a single filter, with one key and a list of values. 

In this example, we entered the Key of "A", then the Values of "1" and "2", and then we clicked Add.

The operation to join the list of values is always Any match (OR), because you cannot create multiple tags with the same key on the same resource.

Image Added

Complete Any match (OR) example

To make this example more readable, we will use a tag:value notation.

In this example, we filter resources tagged A:1 or A:2 or B:3 or C:* (any tag beginning C) or D:* (any tag beginning D) or *:4 (any tag ending 4) or *:5 (any tag ending 5). The operation to join the filters is Any match (OR). We added a single filter entry for "A" with a list of values ("1", "2").


Image Added

Complete AND example

To make this example more readable, we will use a tag:value notation. 

In this example, we filter resources tagged (A:1 or A:2) and B:3 and C:* (any tag beginning C) and D:* (any tag beginning D) and *:4 (any tag ending 4) and *:5 (any tag ending 5). The operation to join the filters is Strict (AND).   

We added a single filter entry for "A" with a list of values ("1", "2").

Image Added