[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

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.


Properties

string as uuid
resourceId Required

Id of the resource that should be matched against the generated alert


array of string
childrenResourceKindFilters Optional

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.


array of ResourceKindKey
childrenResourceKindKeyFilters Optional

Filter based on children resource kind keys.


boolean
matchResourceIdOnly Optional

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.


string
relationship Optional

Specifies whether the rule engine needs to evaluate only the resource itself, its direct children or all descendants. Acceptable values are: SELF, CHILD, DESCENDANT. Default value is: DESCENDANT.
NOTE: If set to SELF, childrenResourceKindKeyFilters has to be empty.

Possible values are: PARENTCHILDCONTAINSCONTAINED_BYREFERENCESREFERENCED_BYUSESUSED_BYSELFDESCENDANTANCESTORTSTALL

JSON Example

{
	"resourceId": "string"
}
[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Property Of

NotificationRule

Feedback

Was this page helpful?