Class: DatadogAPIClient::V2::AutomationRuleAction

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/automation_rule_action.rb

Overview

Defines what happens when the rule triggers. Combines an action type with action-specific configuration data.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/automation_rule_action.rb', line 30

def additional_properties
  @additional_properties
end

#dataObject

Configuration for the action to execute, dependent on the action type.



25
26
27
# File 'lib/datadog_api_client/v2/models/automation_rule_action.rb', line 25

def data
  @data
end

#typeObject

The type of automated action to perform when the rule triggers. execute_workflow runs a Datadog workflow; assign_agent assigns an AI agent to the case.



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

def type
  @type
end