Class: DatadogAPIClient::V2::AutomationRuleAction
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AutomationRuleAction
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#data ⇒ Object
readonly
Configuration for the action to execute, dependent on the action type.
-
#type ⇒ Object
readonly
The type of automated action to perform when the rule triggers.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#data ⇒ Object
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 |
#type ⇒ Object
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 |