Class: DatadogAPIClient::V2::RoutingRuleAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::RoutingRuleAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/routing_rule_attributes.rb
Overview
Defines the configurable attributes of a routing rule, such as actions, query, time restriction, and urgency.
Instance Attribute Summary collapse
-
#actions ⇒ Object
Specifies the list of actions to perform when the routing rule matches.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#query ⇒ Object
Defines the query or condition that triggers this routing rule.
-
#time_restriction ⇒ Object
Time restrictions during which the routing rule is active.
-
#urgency ⇒ Object
Specifies the level of urgency for a routing rule (low, high, or dynamic).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#actions ⇒ Object
Specifies the list of actions to perform when the routing rule matches.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/routing_rule_attributes.rb', line 25 def actions @actions end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/routing_rule_attributes.rb', line 36 def additional_properties @additional_properties end |
#query ⇒ Object
Defines the query or condition that triggers this routing rule.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/routing_rule_attributes.rb', line 28 def query @query end |
#time_restriction ⇒ Object
Time restrictions during which the routing rule is active. Outside of these hours, the rule does not match and routing continues to subsequent rules. This is mutually exclusive with the action-level support_hours field.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/routing_rule_attributes.rb', line 31 def time_restriction @time_restriction end |
#urgency ⇒ Object
Specifies the level of urgency for a routing rule (low, high, or dynamic).
34 35 36 |
# File 'lib/datadog_api_client/v2/models/routing_rule_attributes.rb', line 34 def urgency @urgency end |