Class: DatadogAPIClient::V2::AiGatewayBudgetListAttributes

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

Overview

Budget configuration including spend and capacity for the active accounting window.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



81
82
83
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 81

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_list_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_list_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_list_attributes.rb', line 31

def created_by
  @created_by
end

#current_period_capacity_microcents ⇒ Object

Capacity enforced for the active window, in microcents.



34
35
36
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 34

def current_period_capacity_microcents
  @current_period_capacity_microcents
end

#current_spend_microcents ⇒ Object

Spend currently counted against the active window, in microcents.



37
38
39
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 37

def current_spend_microcents
  @current_spend_microcents
end

#enabled ⇒ Object

Whether the resource is enabled.



40
41
42
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 40

def enabled
  @enabled
end

#enforcement ⇒ Object

Action taken when spend exceeds the budget.



43
44
45
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 43

def enforcement
  @enforcement
end

#monitor_id ⇒ Object

Datadog monitor ID provisioned for this budget. Null when monitor provisioning was skipped or failed.



46
47
48
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 46

def monitor_id
  @monitor_id
end

#name ⇒ Object

Human-readable resource name.



49
50
51
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 49

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.



52
53
54
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 52

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.



55
56
57
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 55

def selector
  @selector
end

#tags ⇒ Object

Request tags that must match for the budget to apply.



58
59
60
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 58

def tags
  @tags
end

#team_id ⇒ Object

Optional Datadog Team scope.



61
62
63
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 61

def team_id
  @team_id
end

#updated_at ⇒ Object

Time when the resource was last updated.



64
65
66
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 64

def updated_at
  @updated_at
end

#user_id ⇒ Object

User scope. Omitted when the budget is not user-scoped.



67
68
69
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 67

def user_id
  @user_id
end

#warning_threshold ⇒ Object

Fraction of capacity at which to issue a warning.



70
71
72
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 70

def warning_threshold
  @warning_threshold
end

#window_end ⇒ Object

End of the active accounting window.



73
74
75
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 73

def window_end
  @window_end
end

#window_policy ⇒ Object

UTC accounting period for a budget.



76
77
78
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 76

def window_policy
  @window_policy
end

#window_start ⇒ Object

Start of the active accounting window.



79
80
81
# File 'lib/datadog_api_client/v2/models/ai_gateway_budget_list_attributes.rb', line 79

def window_start
  @window_start
end