ResourceFilter
Filter for resources. If matchResourceIdOnly is specified, alerts are selected if their resource ids
match with the 'resourceId' specified in the filter. Otherwise, the system looks at all the resource's children.
The possible set of children can be further filtered based on the childrenResourceKindKeyFilters
.
{
"resourceId": "string",
"matchResourceIdOnly": false,
"childrenResourceKindFilters": [
"string"
],
"childrenResourceKindKeyFilters": [
{
"resourceKind": "string",
"adapterKind": "string"
}
],
"relationship": "string"
}
Id of the resource that should be matched against the generated alert
Deprecated, will be removed after couple of releases. Please use relationship instead.
If set to true, the rule engine does not evaluate the resource's children. Default value is: false.
NOTE: If set to true, childrenResourceKindKeyFilters
has to be empty.
If matchResourceIdOnly is set to false, this set allows the system to further filter children
based on their Resource Kind keys. This filter is deprecated. Please use childrenResourceKindKeyFilters instead.
Filter based on children resource kind keys.
Relationship Types between resources. All relationships are many-to-many.
Representation names are plural.