Class: DatadogAPIClient::V2::AiGatewayRoutingRuleTierRequest

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

Overview

Routing fallback tier used to create or replace a rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#ordering ⇒ Object

How a tier orders its targets. Omitted or null defaults to configured, which preserves target order. The weighted_affinity ordering distributes first-choice assignments by relative target weights and accepts only model targets with an explicit provider, without repeated provider and model pairs in the same tier.



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

def ordering
  @ordering
end

#targets ⇒ Object

Returns the value of attribute targets.



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

def targets
  @targets
end