As part of the Maintenance Window API functionality, in order to set the scope of a maintenance window to filter on tags, it is necessary to pass only valid tags. Is there an API method to retrieve the valid tag list, similar to generating the list that pops up in the UI?
Solved! Go to Solution.
I ended up using the Host entities feed , and then transforming that into a distinct list:
var listTags = from h in Entities
from t in h.Tags
_uniqueTags = listTags.Distinct().OrderBy(x=>x).ToList();