NotificationRule
Model that represents a notification rule. vRealize Operations Manager has a rule engine that evaluates these rules against generated alerts. Actions such as sending Email, HTTP callback is done based on matching rules. NOTE: resourceFilter and resourceKindFilter fields are deprecated, instead please use resourceFilters and resourceKindFilters fields respectively.
Properties
Name of this rule
Set of Alert control states that the alert is expected to be in
Possible values are: OPEN , ASSIGNED , SUSPENDED , SUPPRESSED
Filter for the rule to match Alerts that have a specific Impact (Health, Risk or Efficiency). One or more of the String values - “HEALTH”, “RISK”, “EFFICIENCY” - must be specified.
Set of Alert states that the alert is expected to be in
Possible values are: NEW , ACTIVE , UPDATED , CANCELED
Filter for the rule to match Alerts which are of the specified Alert type & Alert Subtypes
Filter for the rule to match Alerts triggered on resources belonging to given collector group
Filter for the rule to match Alerts triggered on resources belonging to given collector
Set of Alert criticalities that the alert is expected to be in
Possible values are: UNKNOWN , NONE , INFORMATION , WARNING , IMMEDIATE , CRITICAL , AUTO
Identifier of this rule, automatically assigned by the system on create
Represents a HTTP ’link’ element. It is implicit that all the link tags support http ‘GET’ method.
Filter for the rule to match Alerts that got generated because of specific Alert Definitions
Identifier of the plugin for which this rule applies
Properties associated with the given rule. This may include information such as the email addresses of receivers/etc…
(Deprecated) Filter for the rule to be matched based on the “Resource and its Children” for which the Alerts were generated. NOTE: this field will be ignored if resourceFilters is specified
Filters for the rule to be matched based on the “Resource and its Children” for which the Alerts were generated. This collection takes precedence over resourceFilter field.
Filter for the rule to be matched based on the Resource Kind for which the alert was generated
Filter for the rule to be matched based on the Resource Kind for which the alert was generated
Identifier of the template. NOTE: For deprecated plugin types this field will be ignored. For all other plugin types, default templates will be used if this value is not specified.
JSON Example
{
"name": "string"
}
Property Of
NotificationRules
Parameter To
Create Notification Plugin Rule
Update Notification Plugin Rule
Returned By
Update Notification Plugin Rule
Create Notification Plugin Rule
Get Notification Rule