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
-
#bundle_config ⇒ Object
Use bundle config to enable alert bundling to reduce monitor signal noises.
-
#conditional_recipients ⇒ Object
Use conditional recipients to define different recipients for different situations.
-
#filter ⇒ Object
Specifies the matching criteria for monitor notifications.
-
#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
#bundle_config ⇒ Object
Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change. If you have any feedback, contact Datadog support.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 26 def bundle_config @bundle_config end |
#conditional_recipients ⇒ Object
Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 29 def conditional_recipients @conditional_recipients end |
#filter ⇒ Object
Specifies the matching criteria for monitor notifications.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 32 def filter @filter end |
#name ⇒ Object
The name of the monitor notification rule.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 35 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 '@'. Cannot be used with conditional_recipients.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb', line 38 def recipients @recipients end |