Business categorization for your virtual environment
-
jarzi
- Service Provider
- Posts: 22
- Liked: 3 times
- Joined: Aug 29, 2016 1:57 pm
- Full Name: Jarno Arajärvi
-
Contact:
Post
by jarzi »
this post
I'd like to add a tag VEEAM\no-backup tag to the query, meaning that VM's with that tag would be ignored.
Like this, but the tag should be <>, not equal to. How can that be done
CASE
WHEN HasBackups = "No"and Tag("no-backup") THEN "No backup"
-
nikolaj
- Expert
- Posts: 164
- Liked: 57 times
- Joined: Mar 22, 2021 11:19 am
-
Contact:
Post
by nikolaj »
1 person likes this post
Hi Jarno,
Have you tried something like this:
Code: Select all
WHEN HasBackups = "No" AND Tag(category_name) <> "no-backup"
THEN
There's a reference in the
Operators article.
-
jarzi
- Service Provider
- Posts: 22
- Liked: 3 times
- Joined: Aug 29, 2016 1:57 pm
- Full Name: Jarno Arajärvi
-
Contact:
Post
by jarzi »
1 person likes this post
Cheers, that worked
WHEN HasBackups = "No" AND Tag("veeam") <> "no-backup" THEN "No Backup"
Thanks!
Users browsing this forum: No registered users and 1 guest