Class: DatadogAPIClient::V2::RoutingRuleAttributes

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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#actionsObject

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_propertiesObject

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

#queryObject

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_restrictionObject

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

#urgencyObject

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