datadog_api_client 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +129 -41
  4. data/.generator/schemas/v2/openapi.yaml +36 -95
  5. data/CHANGELOG.md +15 -0
  6. data/examples/v1/dashboards/CreateDashboard_109450134.rb +44 -0
  7. data/examples/v1/service-level-objectives/SearchSLO.rb +0 -3
  8. data/lib/datadog_api_client/configuration.rb +0 -1
  9. data/lib/datadog_api_client/inflector.rb +3 -0
  10. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +0 -6
  11. data/lib/datadog_api_client/v1/models/host_meta.rb +3 -3
  12. data/lib/datadog_api_client/v1/models/ip_prefixes_orchestrator.rb +105 -0
  13. data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
  14. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +10 -10
  15. data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +11 -1
  16. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +16 -4
  17. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +24 -1
  18. data/lib/datadog_api_client/v1/models/slo_state.rb +29 -0
  19. data/lib/datadog_api_client/v1/models/slo_status.rb +164 -0
  20. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +10 -10
  21. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  22. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
  23. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
  24. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +3 -3
  25. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +3 -3
  26. data/lib/datadog_api_client/v2/api/metrics_api.rb +2 -2
  27. data/lib/datadog_api_client/v2/api/monitors_api.rb +3 -3
  28. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  29. data/lib/datadog_api_client/v2/models/metrics_data_source.rb +2 -1
  30. data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +1 -1
  31. data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +1 -1
  32. data/lib/datadog_api_client/version.rb +1 -1
  33. metadata +6 -2
@@ -115,34 +115,34 @@ module DatadogAPIClient::V1
115
115
  # The Database Monitoring queries usage by tag(s).
116
116
  attr_accessor :dbm_queries_usage
117
117
 
118
- # The percentage of estimated live indexed logs usage by tag(s). This field is in private beta.
118
+ # The percentage of estimated live indexed logs usage by tag(s).
119
119
  attr_accessor :estimated_indexed_logs_percentage
120
120
 
121
- # The estimated live indexed logs usage by tag(s). This field is in private beta.
121
+ # The estimated live indexed logs usage by tag(s).
122
122
  attr_accessor :estimated_indexed_logs_usage
123
123
 
124
- # The percentage of estimated indexed spans usage by tag(s). This field is in private beta.
124
+ # The percentage of estimated indexed spans usage by tag(s).
125
125
  attr_accessor :estimated_indexed_spans_percentage
126
126
 
127
- # The estimated indexed spans usage by tag(s). This field is in private beta.
127
+ # The estimated indexed spans usage by tag(s).
128
128
  attr_accessor :estimated_indexed_spans_usage
129
129
 
130
- # The percentage of estimated live ingested logs usage by tag(s). This field is in private beta.
130
+ # The percentage of estimated live ingested logs usage by tag(s).
131
131
  attr_accessor :estimated_ingested_logs_percentage
132
132
 
133
- # The estimated live ingested logs usage by tag(s). This field is in private beta.
133
+ # The estimated live ingested logs usage by tag(s).
134
134
  attr_accessor :estimated_ingested_logs_usage
135
135
 
136
- # The percentage of estimated ingested spans usage by tag(s). This field is in private beta.
136
+ # The percentage of estimated ingested spans usage by tag(s).
137
137
  attr_accessor :estimated_ingested_spans_percentage
138
138
 
139
- # The estimated ingested spans usage by tag(s). This field is in private beta.
139
+ # The estimated ingested spans usage by tag(s).
140
140
  attr_accessor :estimated_ingested_spans_usage
141
141
 
142
- # The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
142
+ # The percentage of estimated rum sessions usage by tag(s).
143
143
  attr_accessor :estimated_rum_sessions_percentage
144
144
 
145
- # The estimated rum sessions usage by tag(s). This field is in private beta.
145
+ # The estimated rum sessions usage by tag(s).
146
146
  attr_accessor :estimated_rum_sessions_usage
147
147
 
148
148
  # The percentage of Fargate usage by tags.
@@ -77,6 +77,9 @@ module DatadogAPIClient::V1
77
77
  # The type of the service level objective.
78
78
  attr_accessor :slo_type
79
79
 
80
+ # Status of the SLO's primary timeframe.
81
+ attr_accessor :status
82
+
80
83
  # Tags with the `team` tag key.
81
84
  attr_accessor :team_tags
82
85
 
@@ -101,6 +104,7 @@ module DatadogAPIClient::V1
101
104
  :'query' => :'query',
102
105
  :'service_tags' => :'service_tags',
103
106
  :'slo_type' => :'slo_type',
107
+ :'status' => :'status',
104
108
  :'team_tags' => :'team_tags',
105
109
  :'thresholds' => :'thresholds'
106
110
  }
@@ -123,6 +127,7 @@ module DatadogAPIClient::V1
123
127
  :'query' => :'SearchSLOQuery',
124
128
  :'service_tags' => :'Array<String>',
125
129
  :'slo_type' => :'SLOType',
130
+ :'status' => :'SLOStatus',
126
131
  :'team_tags' => :'Array<String>',
127
132
  :'thresholds' => :'Array<SearchSLOThreshold>'
128
133
  }
@@ -220,6 +225,10 @@ module DatadogAPIClient::V1
220
225
  self.slo_type = attributes[:'slo_type']
221
226
  end
222
227
 
228
+ if attributes.key?(:'status')
229
+ self.status = attributes[:'status']
230
+ end
231
+
223
232
  if attributes.key?(:'team_tags')
224
233
  if (value = attributes[:'team_tags']).is_a?(Array)
225
234
  self.team_tags = value
@@ -259,6 +268,7 @@ module DatadogAPIClient::V1
259
268
  query == o.query &&
260
269
  service_tags == o.service_tags &&
261
270
  slo_type == o.slo_type &&
271
+ status == o.status &&
262
272
  team_tags == o.team_tags &&
263
273
  thresholds == o.thresholds
264
274
  end
@@ -267,7 +277,7 @@ module DatadogAPIClient::V1
267
277
  # @return [Integer] Hash code
268
278
  # @!visibility private
269
279
  def hash
270
- [all_tags, created_at, creator, description, env_tags, groups, modified_at, monitor_ids, name, overall_status, query, service_tags, slo_type, team_tags, thresholds].hash
280
+ [all_tags, created_at, creator, description, env_tags, groups, modified_at, monitor_ids, name, overall_status, query, service_tags, slo_type, status, team_tags, thresholds].hash
271
281
  end
272
282
  end
273
283
  end
@@ -31,12 +31,16 @@ module DatadogAPIClient::V1
31
31
  # Widget query.
32
32
  attr_reader :query_string
33
33
 
34
+ # Options for sorting results.
35
+ attr_accessor :sort
36
+
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  # @!visibility private
36
39
  def self.attribute_map
37
40
  {
38
41
  :'limit' => :'limit',
39
- :'query_string' => :'query_string'
42
+ :'query_string' => :'query_string',
43
+ :'sort' => :'sort'
40
44
  }
41
45
  end
42
46
 
@@ -45,7 +49,8 @@ module DatadogAPIClient::V1
45
49
  def self.openapi_types
46
50
  {
47
51
  :'limit' => :'Integer',
48
- :'query_string' => :'String'
52
+ :'query_string' => :'String',
53
+ :'sort' => :'Array<WidgetFieldSort>'
49
54
  }
50
55
  end
51
56
 
@@ -72,6 +77,12 @@ module DatadogAPIClient::V1
72
77
  if attributes.key?(:'query_string')
73
78
  self.query_string = attributes[:'query_string']
74
79
  end
80
+
81
+ if attributes.key?(:'sort')
82
+ if (value = attributes[:'sort']).is_a?(Array)
83
+ self.sort = value
84
+ end
85
+ end
75
86
  end
76
87
 
77
88
  # Check to see if the all the properties in the model are valid
@@ -114,14 +125,15 @@ module DatadogAPIClient::V1
114
125
  return true if self.equal?(o)
115
126
  self.class == o.class &&
116
127
  limit == o.limit &&
117
- query_string == o.query_string
128
+ query_string == o.query_string &&
129
+ sort == o.sort
118
130
  end
119
131
 
120
132
  # Calculates hash code according to all attributes.
121
133
  # @return [Integer] Hash code
122
134
  # @!visibility private
123
135
  def hash
124
- [limit, query_string].hash
136
+ [limit, query_string, sort].hash
125
137
  end
126
138
  end
127
139
  end
@@ -28,6 +28,9 @@ module DatadogAPIClient::V1
28
28
  # Error message if SLO status or error budget could not be calculated.
29
29
  attr_accessor :error
30
30
 
31
+ # Remaining error budget of the SLO in percentage.
32
+ attr_accessor :error_budget_remaining
33
+
31
34
  # timestamp (UNIX time in seconds) of when the SLO status and error budget
32
35
  # were calculated.
33
36
  attr_accessor :indexed_at
@@ -38,6 +41,9 @@ module DatadogAPIClient::V1
38
41
  # The amount of decimal places the SLI value is accurate to.
39
42
  attr_accessor :span_precision
40
43
 
44
+ # State of the SLO.
45
+ attr_accessor :state
46
+
41
47
  # The status of the SLO.
42
48
  attr_accessor :status
43
49
 
@@ -52,9 +58,11 @@ module DatadogAPIClient::V1
52
58
  def self.attribute_map
53
59
  {
54
60
  :'error' => :'error',
61
+ :'error_budget_remaining' => :'error_budget_remaining',
55
62
  :'indexed_at' => :'indexed_at',
56
63
  :'raw_error_budget_remaining' => :'raw_error_budget_remaining',
57
64
  :'span_precision' => :'span_precision',
65
+ :'state' => :'state',
58
66
  :'status' => :'status',
59
67
  :'target' => :'target',
60
68
  :'timeframe' => :'timeframe'
@@ -66,9 +74,11 @@ module DatadogAPIClient::V1
66
74
  def self.openapi_types
67
75
  {
68
76
  :'error' => :'String',
77
+ :'error_budget_remaining' => :'Float',
69
78
  :'indexed_at' => :'Integer',
70
79
  :'raw_error_budget_remaining' => :'SLORawErrorBudgetRemaining',
71
80
  :'span_precision' => :'Integer',
81
+ :'state' => :'SLOState',
72
82
  :'status' => :'Float',
73
83
  :'target' => :'Float',
74
84
  :'timeframe' => :'SLOTimeframe'
@@ -80,6 +90,9 @@ module DatadogAPIClient::V1
80
90
  def self.openapi_nullable
81
91
  Set.new([
82
92
  :'error',
93
+ :'error_budget_remaining',
94
+ :'raw_error_budget_remaining',
95
+ :'span_precision',
83
96
  :'status',
84
97
  ])
85
98
  end
@@ -104,6 +117,10 @@ module DatadogAPIClient::V1
104
117
  self.error = attributes[:'error']
105
118
  end
106
119
 
120
+ if attributes.key?(:'error_budget_remaining')
121
+ self.error_budget_remaining = attributes[:'error_budget_remaining']
122
+ end
123
+
107
124
  if attributes.key?(:'indexed_at')
108
125
  self.indexed_at = attributes[:'indexed_at']
109
126
  end
@@ -116,6 +133,10 @@ module DatadogAPIClient::V1
116
133
  self.span_precision = attributes[:'span_precision']
117
134
  end
118
135
 
136
+ if attributes.key?(:'state')
137
+ self.state = attributes[:'state']
138
+ end
139
+
119
140
  if attributes.key?(:'status')
120
141
  self.status = attributes[:'status']
121
142
  end
@@ -143,9 +164,11 @@ module DatadogAPIClient::V1
143
164
  return true if self.equal?(o)
144
165
  self.class == o.class &&
145
166
  error == o.error &&
167
+ error_budget_remaining == o.error_budget_remaining &&
146
168
  indexed_at == o.indexed_at &&
147
169
  raw_error_budget_remaining == o.raw_error_budget_remaining &&
148
170
  span_precision == o.span_precision &&
171
+ state == o.state &&
149
172
  status == o.status &&
150
173
  target == o.target &&
151
174
  timeframe == o.timeframe
@@ -155,7 +178,7 @@ module DatadogAPIClient::V1
155
178
  # @return [Integer] Hash code
156
179
  # @!visibility private
157
180
  def hash
158
- [error, indexed_at, raw_error_budget_remaining, span_precision, status, target, timeframe].hash
181
+ [error, error_budget_remaining, indexed_at, raw_error_budget_remaining, span_precision, state, status, target, timeframe].hash
159
182
  end
160
183
  end
161
184
  end
@@ -0,0 +1,29 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # State of the SLO.
21
+ class SLOState
22
+ include BaseEnumModel
23
+
24
+ BREACHED = "breached".freeze
25
+ WARNING = "warning".freeze
26
+ OK = "ok".freeze
27
+ NO_DATA = "no_data".freeze
28
+ end
29
+ end
@@ -0,0 +1,164 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # Status of the SLO's primary timeframe.
21
+ class SLOStatus
22
+ include BaseGenericModel
23
+
24
+ # Whether the object has unparsed attributes
25
+ # @!visibility private
26
+ attr_accessor :_unparsed
27
+
28
+ # Error message if SLO status or error budget could not be calculated.
29
+ attr_accessor :calculation_error
30
+
31
+ # Remaining error budget of the SLO in percentage.
32
+ attr_accessor :error_budget_remaining
33
+
34
+ # timestamp (UNIX time in seconds) of when the SLO status and error budget
35
+ # were calculated.
36
+ attr_accessor :indexed_at
37
+
38
+ # Error budget remaining for an SLO.
39
+ attr_accessor :raw_error_budget_remaining
40
+
41
+ # The current service level indicator (SLI) of the SLO, also known as 'status'. This is a percentage value from 0-100 (inclusive).
42
+ attr_accessor :sli
43
+
44
+ # The number of decimal places the SLI value is accurate to.
45
+ attr_accessor :span_precision
46
+
47
+ # State of the SLO.
48
+ attr_accessor :state
49
+
50
+ # Attribute mapping from ruby-style variable name to JSON key.
51
+ # @!visibility private
52
+ def self.attribute_map
53
+ {
54
+ :'calculation_error' => :'calculation_error',
55
+ :'error_budget_remaining' => :'error_budget_remaining',
56
+ :'indexed_at' => :'indexed_at',
57
+ :'raw_error_budget_remaining' => :'raw_error_budget_remaining',
58
+ :'sli' => :'sli',
59
+ :'span_precision' => :'span_precision',
60
+ :'state' => :'state'
61
+ }
62
+ end
63
+
64
+ # Attribute type mapping.
65
+ # @!visibility private
66
+ def self.openapi_types
67
+ {
68
+ :'calculation_error' => :'String',
69
+ :'error_budget_remaining' => :'Float',
70
+ :'indexed_at' => :'Integer',
71
+ :'raw_error_budget_remaining' => :'SLORawErrorBudgetRemaining',
72
+ :'sli' => :'Float',
73
+ :'span_precision' => :'Integer',
74
+ :'state' => :'SLOState'
75
+ }
76
+ end
77
+
78
+ # List of attributes with nullable: true
79
+ # @!visibility private
80
+ def self.openapi_nullable
81
+ Set.new([
82
+ :'calculation_error',
83
+ :'error_budget_remaining',
84
+ :'raw_error_budget_remaining',
85
+ :'sli',
86
+ :'span_precision',
87
+ ])
88
+ end
89
+
90
+ # Initializes the object
91
+ # @param attributes [Hash] Model attributes in the form of hash
92
+ # @!visibility private
93
+ def initialize(attributes = {})
94
+ if (!attributes.is_a?(Hash))
95
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SLOStatus` initialize method"
96
+ end
97
+
98
+ # check to see if the attribute exists and convert string to symbol for hash key
99
+ attributes = attributes.each_with_object({}) { |(k, v), h|
100
+ if (!self.class.attribute_map.key?(k.to_sym))
101
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SLOStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
102
+ end
103
+ h[k.to_sym] = v
104
+ }
105
+
106
+ if attributes.key?(:'calculation_error')
107
+ self.calculation_error = attributes[:'calculation_error']
108
+ end
109
+
110
+ if attributes.key?(:'error_budget_remaining')
111
+ self.error_budget_remaining = attributes[:'error_budget_remaining']
112
+ end
113
+
114
+ if attributes.key?(:'indexed_at')
115
+ self.indexed_at = attributes[:'indexed_at']
116
+ end
117
+
118
+ if attributes.key?(:'raw_error_budget_remaining')
119
+ self.raw_error_budget_remaining = attributes[:'raw_error_budget_remaining']
120
+ end
121
+
122
+ if attributes.key?(:'sli')
123
+ self.sli = attributes[:'sli']
124
+ end
125
+
126
+ if attributes.key?(:'span_precision')
127
+ self.span_precision = attributes[:'span_precision']
128
+ end
129
+
130
+ if attributes.key?(:'state')
131
+ self.state = attributes[:'state']
132
+ end
133
+ end
134
+
135
+ # Check to see if the all the properties in the model are valid
136
+ # @return true if the model is valid
137
+ # @!visibility private
138
+ def valid?
139
+ true
140
+ end
141
+
142
+ # Checks equality by comparing each attribute.
143
+ # @param o [Object] Object to be compared
144
+ # @!visibility private
145
+ def ==(o)
146
+ return true if self.equal?(o)
147
+ self.class == o.class &&
148
+ calculation_error == o.calculation_error &&
149
+ error_budget_remaining == o.error_budget_remaining &&
150
+ indexed_at == o.indexed_at &&
151
+ raw_error_budget_remaining == o.raw_error_budget_remaining &&
152
+ sli == o.sli &&
153
+ span_precision == o.span_precision &&
154
+ state == o.state
155
+ end
156
+
157
+ # Calculates hash code according to all attributes.
158
+ # @return [Integer] Hash code
159
+ # @!visibility private
160
+ def hash
161
+ [calculation_error, error_budget_remaining, indexed_at, raw_error_budget_remaining, sli, span_precision, state].hash
162
+ end
163
+ end
164
+ end
@@ -109,34 +109,34 @@ module DatadogAPIClient::V1
109
109
  # The Database Monitoring normalized queries usage by tag(s).
110
110
  attr_accessor :dbm_queries_usage
111
111
 
112
- # The percentage of estimated live indexed logs usage by tag(s). Note this field is in private beta.
112
+ # The percentage of estimated live indexed logs usage by tag(s).
113
113
  attr_accessor :estimated_indexed_logs_percentage
114
114
 
115
- # The estimated live indexed logs usage by tag(s). Note this field is in private beta.
115
+ # The estimated live indexed logs usage by tag(s).
116
116
  attr_accessor :estimated_indexed_logs_usage
117
117
 
118
- # The percentage of estimated indexed spans usage by tag(s). Note this field is in private beta.
118
+ # The percentage of estimated indexed spans usage by tag(s).
119
119
  attr_accessor :estimated_indexed_spans_percentage
120
120
 
121
- # The estimated indexed spans usage by tag(s). Note this field is in private beta.
121
+ # The estimated indexed spans usage by tag(s).
122
122
  attr_accessor :estimated_indexed_spans_usage
123
123
 
124
- # The percentage of estimated live ingested logs usage by tag(s). Note this field is in private beta.
124
+ # The percentage of estimated live ingested logs usage by tag(s).
125
125
  attr_accessor :estimated_ingested_logs_percentage
126
126
 
127
- # The estimated live ingested logs usage by tag(s). Note this field is in private beta.
127
+ # The estimated live ingested logs usage by tag(s).
128
128
  attr_accessor :estimated_ingested_logs_usage
129
129
 
130
- # The percentage of estimated ingested spans usage by tag(s). Note this field is in private beta.
130
+ # The percentage of estimated ingested spans usage by tag(s).
131
131
  attr_accessor :estimated_ingested_spans_percentage
132
132
 
133
- # The estimated ingested spans usage by tag(s). Note this field is in private beta.
133
+ # The estimated ingested spans usage by tag(s).
134
134
  attr_accessor :estimated_ingested_spans_usage
135
135
 
136
- # The percentage of estimated rum sessions usage by tag(s). This field is in private beta.
136
+ # The percentage of estimated rum sessions usage by tag(s).
137
137
  attr_accessor :estimated_rum_sessions_percentage
138
138
 
139
- # The estimated rum sessions usage by tag(s). This field is in private beta.
139
+ # The estimated rum sessions usage by tag(s).
140
140
  attr_accessor :estimated_rum_sessions_usage
141
141
 
142
142
  # The percentage of infrastructure host usage by tag(s).
@@ -82,9 +82,15 @@ module DatadogAPIClient::V1
82
82
  # Shows the high-water mark of all CI visibility test committers over all hours in the current month for all organizations.
83
83
  attr_accessor :ci_visibility_test_committers_hwm
84
84
 
85
+ # Host count average of Cloud Cost Management for the given date and given organization.
86
+ attr_accessor :cloud_cost_management_host_count_avg
87
+
85
88
  # Shows the average of all distinct containers over all hours in the current date for all organizations.
86
89
  attr_accessor :container_avg
87
90
 
91
+ # Shows the average of containers without the Datadog Agent over all hours in the current date for all organizations.
92
+ attr_accessor :container_excl_agent_avg
93
+
88
94
  # Shows the high-water mark of all distinct containers over all hours in the current date for all organizations.
89
95
  attr_accessor :container_hwm
90
96
 
@@ -267,7 +273,9 @@ module DatadogAPIClient::V1
267
273
  :'ci_test_indexed_spans_sum' => :'ci_test_indexed_spans_sum',
268
274
  :'ci_visibility_pipeline_committers_hwm' => :'ci_visibility_pipeline_committers_hwm',
269
275
  :'ci_visibility_test_committers_hwm' => :'ci_visibility_test_committers_hwm',
276
+ :'cloud_cost_management_host_count_avg' => :'cloud_cost_management_host_count_avg',
270
277
  :'container_avg' => :'container_avg',
278
+ :'container_excl_agent_avg' => :'container_excl_agent_avg',
271
279
  :'container_hwm' => :'container_hwm',
272
280
  :'cspm_aas_host_top99p' => :'cspm_aas_host_top99p',
273
281
  :'cspm_aws_host_top99p' => :'cspm_aws_host_top99p',
@@ -347,7 +355,9 @@ module DatadogAPIClient::V1
347
355
  :'ci_test_indexed_spans_sum' => :'Integer',
348
356
  :'ci_visibility_pipeline_committers_hwm' => :'Integer',
349
357
  :'ci_visibility_test_committers_hwm' => :'Integer',
358
+ :'cloud_cost_management_host_count_avg' => :'Integer',
350
359
  :'container_avg' => :'Integer',
360
+ :'container_excl_agent_avg' => :'Integer',
351
361
  :'container_hwm' => :'Integer',
352
362
  :'cspm_aas_host_top99p' => :'Integer',
353
363
  :'cspm_aws_host_top99p' => :'Integer',
@@ -496,10 +506,18 @@ module DatadogAPIClient::V1
496
506
  self.ci_visibility_test_committers_hwm = attributes[:'ci_visibility_test_committers_hwm']
497
507
  end
498
508
 
509
+ if attributes.key?(:'cloud_cost_management_host_count_avg')
510
+ self.cloud_cost_management_host_count_avg = attributes[:'cloud_cost_management_host_count_avg']
511
+ end
512
+
499
513
  if attributes.key?(:'container_avg')
500
514
  self.container_avg = attributes[:'container_avg']
501
515
  end
502
516
 
517
+ if attributes.key?(:'container_excl_agent_avg')
518
+ self.container_excl_agent_avg = attributes[:'container_excl_agent_avg']
519
+ end
520
+
503
521
  if attributes.key?(:'container_hwm')
504
522
  self.container_hwm = attributes[:'container_hwm']
505
523
  end
@@ -747,7 +765,9 @@ module DatadogAPIClient::V1
747
765
  ci_test_indexed_spans_sum == o.ci_test_indexed_spans_sum &&
748
766
  ci_visibility_pipeline_committers_hwm == o.ci_visibility_pipeline_committers_hwm &&
749
767
  ci_visibility_test_committers_hwm == o.ci_visibility_test_committers_hwm &&
768
+ cloud_cost_management_host_count_avg == o.cloud_cost_management_host_count_avg &&
750
769
  container_avg == o.container_avg &&
770
+ container_excl_agent_avg == o.container_excl_agent_avg &&
751
771
  container_hwm == o.container_hwm &&
752
772
  cspm_aas_host_top99p == o.cspm_aas_host_top99p &&
753
773
  cspm_aws_host_top99p == o.cspm_aws_host_top99p &&
@@ -807,7 +827,7 @@ module DatadogAPIClient::V1
807
827
  # @return [Integer] Hash code
808
828
  # @!visibility private
809
829
  def hash
810
- [agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
830
+ [agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_host_count_avg, container_avg, container_excl_agent_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
811
831
  end
812
832
  end
813
833
  end
@@ -82,9 +82,15 @@ module DatadogAPIClient::V1
82
82
  # Shows the high-water mark of all CI visibility test committers over all hours in the current date for the given org.
83
83
  attr_accessor :ci_visibility_test_committers_hwm
84
84
 
85
+ # Host count average of Cloud Cost Management for the given date and given org.
86
+ attr_accessor :cloud_cost_management_host_count_avg
87
+
85
88
  # Shows the average of all distinct containers over all hours in the current date for the given org.
86
89
  attr_accessor :container_avg
87
90
 
91
+ # Shows the average of containers without the Datadog Agent over all hours in the current date for the given organization.
92
+ attr_accessor :container_excl_agent_avg
93
+
88
94
  # Shows the high-water mark of all distinct containers over all hours in the current date for the given org.
89
95
  attr_accessor :container_hwm
90
96
 
@@ -273,7 +279,9 @@ module DatadogAPIClient::V1
273
279
  :'ci_test_indexed_spans_sum' => :'ci_test_indexed_spans_sum',
274
280
  :'ci_visibility_pipeline_committers_hwm' => :'ci_visibility_pipeline_committers_hwm',
275
281
  :'ci_visibility_test_committers_hwm' => :'ci_visibility_test_committers_hwm',
282
+ :'cloud_cost_management_host_count_avg' => :'cloud_cost_management_host_count_avg',
276
283
  :'container_avg' => :'container_avg',
284
+ :'container_excl_agent_avg' => :'container_excl_agent_avg',
277
285
  :'container_hwm' => :'container_hwm',
278
286
  :'cspm_aas_host_top99p' => :'cspm_aas_host_top99p',
279
287
  :'cspm_aws_host_top99p' => :'cspm_aws_host_top99p',
@@ -355,7 +363,9 @@ module DatadogAPIClient::V1
355
363
  :'ci_test_indexed_spans_sum' => :'Integer',
356
364
  :'ci_visibility_pipeline_committers_hwm' => :'Integer',
357
365
  :'ci_visibility_test_committers_hwm' => :'Integer',
366
+ :'cloud_cost_management_host_count_avg' => :'Integer',
358
367
  :'container_avg' => :'Integer',
368
+ :'container_excl_agent_avg' => :'Integer',
359
369
  :'container_hwm' => :'Integer',
360
370
  :'cspm_aas_host_top99p' => :'Integer',
361
371
  :'cspm_aws_host_top99p' => :'Integer',
@@ -506,10 +516,18 @@ module DatadogAPIClient::V1
506
516
  self.ci_visibility_test_committers_hwm = attributes[:'ci_visibility_test_committers_hwm']
507
517
  end
508
518
 
519
+ if attributes.key?(:'cloud_cost_management_host_count_avg')
520
+ self.cloud_cost_management_host_count_avg = attributes[:'cloud_cost_management_host_count_avg']
521
+ end
522
+
509
523
  if attributes.key?(:'container_avg')
510
524
  self.container_avg = attributes[:'container_avg']
511
525
  end
512
526
 
527
+ if attributes.key?(:'container_excl_agent_avg')
528
+ self.container_excl_agent_avg = attributes[:'container_excl_agent_avg']
529
+ end
530
+
513
531
  if attributes.key?(:'container_hwm')
514
532
  self.container_hwm = attributes[:'container_hwm']
515
533
  end
@@ -763,7 +781,9 @@ module DatadogAPIClient::V1
763
781
  ci_test_indexed_spans_sum == o.ci_test_indexed_spans_sum &&
764
782
  ci_visibility_pipeline_committers_hwm == o.ci_visibility_pipeline_committers_hwm &&
765
783
  ci_visibility_test_committers_hwm == o.ci_visibility_test_committers_hwm &&
784
+ cloud_cost_management_host_count_avg == o.cloud_cost_management_host_count_avg &&
766
785
  container_avg == o.container_avg &&
786
+ container_excl_agent_avg == o.container_excl_agent_avg &&
767
787
  container_hwm == o.container_hwm &&
768
788
  cspm_aas_host_top99p == o.cspm_aas_host_top99p &&
769
789
  cspm_aws_host_top99p == o.cspm_aws_host_top99p &&
@@ -825,7 +845,7 @@ module DatadogAPIClient::V1
825
845
  # @return [Integer] Hash code
826
846
  # @!visibility private
827
847
  def hash
828
- [agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, profiling_host_top99p, public_id, region, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
848
+ [agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_host_count_avg, container_avg, container_excl_agent_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, profiling_host_top99p, public_id, region, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
829
849
  end
830
850
  end
831
851
  end