Class: DatadogAPIClient::V2::MonitorNotificationRuleAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#bundle_configObject

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_recipientsObject

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

#filterObject

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

#nameObject

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

#recipientsObject

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