Class: DatadogAPIClient::V2::AiGatewayBudgetAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayBudgetAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb
Overview
AI Gateway budget configuration and metadata.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#capacity_microcents ⇒ Object
readonly
Budget capacity in microcents.
-
#created_at ⇒ Object
readonly
Time when the resource was created.
-
#created_by ⇒ Object
readonly
Identifier of the principal that created the resource.
-
#enabled ⇒ Object
readonly
Whether the resource is enabled.
-
#enforcement ⇒ Object
readonly
Action taken when spend exceeds the budget.
-
#monitor_id ⇒ Object
Datadog monitor ID provisioned for this budget.
-
#name ⇒ Object
readonly
Human-readable resource name.
-
#scope_restricted ⇒ Object
readonly
Whether provider or model scope metadata was withheld.
-
#selector ⇒ Object
Dimension rules for a template budget.
-
#tags ⇒ Object
readonly
Request tags that must match for the budget to apply.
-
#team_id ⇒ Object
Optional Datadog Team scope.
-
#updated_at ⇒ Object
readonly
Time when the resource was last updated.
-
#user_id ⇒ Object
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.
69 70 71 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 69 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_attributes.rb', line 25 def capacity_microcents @capacity_microcents end |
#created_at ⇒ Object
Time when the resource was created.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 28 def created_at @created_at end |
#created_by ⇒ Object
Identifier of the principal that created the resource.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 31 def created_by @created_by end |
#enabled ⇒ Object
Whether the resource is enabled.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 34 def enabled @enabled end |
#enforcement ⇒ Object
Action taken when spend exceeds the budget.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 37 def enforcement @enforcement end |
#monitor_id ⇒ Object
Datadog monitor ID provisioned for this budget. Null when monitor provisioning was skipped or failed.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 40 def monitor_id @monitor_id end |
#name ⇒ Object
Human-readable resource name.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 43 def name @name end |
#scope_restricted ⇒ Object
Whether provider or model scope metadata was withheld. Omit unchanged scope fields on an unrelated update to preserve their saved values.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 46 def scope_restricted @scope_restricted 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.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 49 def selector @selector end |
#tags ⇒ Object
Request tags that must match for the budget to apply.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 52 def @tags end |
#team_id ⇒ Object
Optional Datadog Team scope.
55 56 57 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 55 def team_id @team_id end |
#updated_at ⇒ Object
Time when the resource was last updated.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 58 def updated_at @updated_at end |
#user_id ⇒ Object
User scope. Omitted when the budget is not user-scoped.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 61 def user_id @user_id end |
#warning_threshold ⇒ Object
Fraction of capacity at which to issue a warning.
64 65 66 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 64 def warning_threshold @warning_threshold end |
#window_policy ⇒ Object
UTC accounting period for a budget.
67 68 69 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_attributes.rb', line 67 def window_policy @window_policy end |