Class: DatadogAPIClient::V2::MonitorNotificationRuleCondition
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::MonitorNotificationRuleCondition
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/monitor_notification_rule_condition.rb
Overview
A conditional recipient rule composed of a scope (the matching condition) and
recipients (who to notify when it matches).
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#recipients ⇒ Object
readonly
A list of recipients to notify.
-
#scope ⇒ Object
readonly
Defines the condition under which the recipients are notified.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_condition.rb', line 33 def additional_properties @additional_properties 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.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_condition.rb', line 26 def recipients @recipients end |
#scope ⇒ Object
Defines the condition under which the recipients are notified. Supported formats:
- Monitor status condition using
transition_type:<status>, for exampletransition_type:is_alert. - A single tag key:value pair, for example
env:prod.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/monitor_notification_rule_condition.rb', line 31 def scope @scope end |