Class: DatadogAPIClient::V2::BudgetAttributes

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

Overview

The attributes of a budget.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



69
70
71
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 69

def additional_properties
  @additional_properties
end

#costsObject

Aggregated cost data for the budget over the requested period.



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

def costs
  @costs
end

#costs_period_endObject

The end of the period used to compute cost data, in milliseconds since epoch.



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

def costs_period_end
  @costs_period_end
end

#costs_period_startObject

The start of the period used to compute cost data, in milliseconds since epoch.



31
32
33
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 31

def costs_period_start
  @costs_period_start
end

#costs_unitObject

The unit used for all cost values in the response.



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

def costs_unit
  @costs_unit
end

#created_atObject

The timestamp when the budget was created.



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

def created_at
  @created_at
end

#created_byObject

The id of the user that created the budget.



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

def created_by
  @created_by
end

#end_monthObject

The month when the budget ends.



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

def end_month
  @end_month
end

#entriesObject

The list of monthly budget entries.



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

def entries
  @entries
end

#metrics_queryObject

The cost query used to track against the budget.



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

def metrics_query
  @metrics_query
end

#nameObject

The name of the budget.



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

def name
  @name
end

#org_idObject

The id of the org the budget belongs to.



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

def org_id
  @org_id
end

#start_monthObject

The month when the budget starts.



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

def start_month
  @start_month
end

#total_amountObject

The sum of all budget entries' amounts.



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

def total_amount
  @total_amount
end

#updated_atObject

The timestamp when the budget was last updated.



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

def updated_at
  @updated_at
end

#updated_byObject

The id of the user that created the budget.



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

def updated_by
  @updated_by
end