Class: DatadogAPIClient::V2::MonitorNotificationRuleAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::MonitorNotificationRuleAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb
Overview
Attributes of the monitor notification rule.
Instance Attribute Summary collapse
-
#conditional_recipients ⇒ Object
Use conditional recipients to define different recipients for different situations.
-
#filter ⇒ Object
Filter used to associate the notification rule with monitors.
-
#name ⇒ Object
readonly
The name of the monitor notification rule.
-
#recipients ⇒ Object
readonly
A list of recipients to notify.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#conditional_recipients ⇒ Object
Use conditional recipients to define different recipients for different situations.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 25 def conditional_recipients @conditional_recipients end |
#filter ⇒ Object
Filter used to associate the notification rule with monitors.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 28 def filter @filter end |
#name ⇒ Object
The name of the monitor notification rule.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 31 def name @name end |
#recipients ⇒ Object
A list of recipients to notify. Uses the same format as the monitor message
field. Must not start with an '@'.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 34 def recipients @recipients end |