Class: DatadogAPIClient::V2::AutomationRuleCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AutomationRuleCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/automation_rule_create_attributes.rb
Overview
Attributes required to create an automation rule.
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Defines what happens when the rule triggers.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#name ⇒ Object
readonly
Name of the automation rule.
-
#state ⇒ Object
Whether the automation rule is active.
-
#trigger ⇒ Object
readonly
Defines when the rule activates.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#action ⇒ Object
Defines what happens when the rule triggers. Combines an action type with action-specific configuration data.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/automation_rule_create_attributes.rb', line 25 def action @action end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/automation_rule_create_attributes.rb', line 36 def additional_properties @additional_properties end |
#name ⇒ Object
Name of the automation rule.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/automation_rule_create_attributes.rb', line 28 def name @name end |
#state ⇒ Object
Whether the automation rule is active. Enabled rules trigger on matching case events; disabled rules are inactive but preserve their configuration.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/automation_rule_create_attributes.rb', line 31 def state @state end |
#trigger ⇒ Object
Defines when the rule activates. Combines a trigger type (the case event to listen for) with optional trigger data (conditions that narrow when the trigger fires).
34 35 36 |
# File 'lib/datadog_api_client/v2/models/automation_rule_create_attributes.rb', line 34 def trigger @trigger end |