Class: DatadogAPIClient::V2::AiGatewayBudgetCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayBudgetCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb
Overview
Attributes used to create an AI Gateway budget.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#capacity_microcents ⇒ Object
readonly
Budget capacity in microcents.
-
#enforcement ⇒ Object
readonly
Action taken when spend exceeds the budget.
-
#name ⇒ Object
readonly
Human-readable resource name.
-
#selector ⇒ Object
Dimension rules for a template budget.
-
#tags ⇒ Object
Request tags that must match for the budget to apply.
-
#team_id ⇒ Object
Optional Datadog Team scope.
-
#track_existing ⇒ Object
Initialize current-period spend from historical priced LLM Observability spans.
-
#user_id ⇒ Object
Optional user scope.
-
#warning_threshold ⇒ Object
readonly
Fraction of capacity at which to issue a warning.
-
#window_policy ⇒ Object
readonly
UTC accounting period for a budget.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 54 def additional_properties @additional_properties end |
#capacity_microcents ⇒ Object
Budget capacity in microcents.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 25 def capacity_microcents @capacity_microcents end |
#enforcement ⇒ Object
Action taken when spend exceeds the budget.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 28 def enforcement @enforcement end |
#name ⇒ Object
Human-readable resource name.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 31 def name @name end |
#selector ⇒ Object
Dimension rules for a template budget. A nonempty selector creates independent counters for matched instances. Omit or pass an empty selector for a legacy fixed-scope budget.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 34 def selector @selector end |
#tags ⇒ Object
Request tags that must match for the budget to apply.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 37 def @tags end |
#team_id ⇒ Object
Optional Datadog Team scope.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 40 def team_id @team_id end |
#track_existing ⇒ Object
Initialize current-period spend from historical priced LLM Observability spans. Defaults to false. Unsupported for template budgets; failures can be retried with an update.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 43 def track_existing @track_existing end |
#user_id ⇒ Object
Optional user scope.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 46 def user_id @user_id end |
#warning_threshold ⇒ Object
Fraction of capacity at which to issue a warning.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 49 def warning_threshold @warning_threshold end |
#window_policy ⇒ Object
UTC accounting period for a budget.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_create_attributes.rb', line 52 def window_policy @window_policy end |