Class: DatadogAPIClient::V2::NotificationRule
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::NotificationRule
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/notification_rule.rb
Overview
Notification rules allow full control over notifications generated by the various Datadog security products. They allow users to define the conditions under which a notification should be generated (based on rule severities, rule types, rule tags, and so on), and the targets to notify. A notification rule is composed of a rule ID, a rule type, and the rule attributes. All fields are required.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#attributes ⇒ Object
readonly
Attributes of the notification rule.
-
#id ⇒ Object
readonly
The ID of a notification rule.
-
#type ⇒ Object
readonly
The rule type associated to notification rules.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/notification_rule.rb', line 36 def additional_properties @additional_properties end |
#attributes ⇒ Object
Attributes of the notification rule.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/notification_rule.rb', line 28 def attributes @attributes end |
#id ⇒ Object
The ID of a notification rule.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/notification_rule.rb', line 31 def id @id end |
#type ⇒ Object
The rule type associated to notification rules.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/notification_rule.rb', line 34 def type @type end |