Hi, I'm trying to use the API to create a maintenance window. What I want to do is create a maintenance window with a scope that matches all entities of a certain tag, for example:
"scope": {
"matches": [
{
"type": "ALL",
"tags": [
{
"context": "CONTEXTLESS",
"key": "CUSTOM_TAG"
}
]
}
]
}
However, I'm not sure what I should enter in for "type" - I can't find a list of valid values for it (the only one I know of is PROCESS_GROUPS). Is there some documentation out there that has a list of all valid values for type?
Solved! Go to Solution.
Hey Ryan
You should try the JSON below to accomplish what you want
you should not need "type" if you have the entities set the way I have above. Let em know if this works for you.
Thanks
NJ
Ryan, thanks for the feedback. I've created a documentation update ticket to address this point: UA-3075