Class: DatadogAPIClient::V2::NotificationRule

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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#attributesObject

Attributes of the notification rule.



28
29
30
# File 'lib/datadog_api_client/v2/models/notification_rule.rb', line 28

def attributes
  @attributes
end

#idObject

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

#typeObject

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