Skip to content

Commit dd5a475

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2bb6d031 of spec repo
1 parent ece77e0 commit dd5a475

8 files changed

+206
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-30 19:44:30.949374",
8-
"spec_repo_commit": "909e369c"
7+
"regenerated": "2024-10-01 14:09:06.638517",
8+
"spec_repo_commit": "2bb6d031"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-30 19:44:30.963864",
13-
"spec_repo_commit": "909e369c"
12+
"regenerated": "2024-10-01 14:09:06.652870",
13+
"spec_repo_commit": "2bb6d031"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4216,6 +4216,7 @@ components:
42164216
- npm_host_usage
42174217
- obs_pipeline_bytes_usage
42184218
- obs_pipelines_vcpu_usage
4219+
- oci_usage
42194220
- online_archive_usage
42204221
- profiled_container_usage
42214222
- profiled_fargate_usage
@@ -4289,6 +4290,7 @@ components:
42894290
- NPM_HOST_USAGE
42904291
- OBS_PIPELINE_BYTES_USAGE
42914292
- OBS_PIPELINE_VCPU_USAGE
4293+
- OCI_USAGE
42924294
- ONLINE_ARCHIVE_USAGE
42934295
- PROFILED_CONTAINER_USAGE
42944296
- PROFILED_FARGATE_USAGE
@@ -7971,6 +7973,8 @@ components:
79717973
- obs_pipeline_bytes_percentage
79727974
- obs_pipelines_vcpu_usage
79737975
- obs_pipelines_vcpu_percentage
7976+
- oci_usage
7977+
- oci_percentage
79747978
- online_archive_usage
79757979
- online_archive_percentage
79767980
- profiled_container_usage
@@ -8112,6 +8116,8 @@ components:
81128116
- OBS_PIPELINE_BYTES_PERCENTAGE
81138117
- OBS_PIPELINES_VCPU_USAGE
81148118
- OBS_PIPELINES_VCPU_PERCENTAGE
8119+
- OCI_USAGE
8120+
- OCI_PERCENTAGE
81158121
- ONLINE_ARCHIVE_USAGE
81168122
- ONLINE_ARCHIVE_PERCENTAGE
81178123
- PROFILED_CONTAINER_USAGE
@@ -8639,6 +8645,14 @@ components:
86398645
description: The observability pipeline per core usage by tag(s).
86408646
format: double
86418647
type: number
8648+
oci_percentage:
8649+
description: The percentage of Oracle Cloud Infrastructure usage by tag(s).
8650+
format: double
8651+
type: number
8652+
oci_usage:
8653+
description: The Oracle Cloud Infrastructure usage by tag(s).
8654+
format: double
8655+
type: number
86428656
online_archive_percentage:
86438657
description: The percentage of online archive usage by tag(s).
86448658
format: double
@@ -19480,6 +19494,16 @@ components:
1948019494
hours in the current date for the given org.
1948119495
format: int64
1948219496
type: integer
19497+
oci_host_sum:
19498+
description: Shows the sum of all Oracle Cloud Infrastructure hosts over
19499+
all hours in the current date for the given org.
19500+
format: int64
19501+
type: integer
19502+
oci_host_top99p:
19503+
description: Shows the 99th percentile of all Oracle Cloud Infrastructure
19504+
hosts over all hours in the current date for the given org.
19505+
format: int64
19506+
type: integer
1948319507
online_archive_events_count_sum:
1948419508
description: Sum of all online archived events over all hours in the current
1948519509
date for all organizations.
@@ -20219,6 +20243,16 @@ components:
2021920243
hours in the current date for the given org.
2022020244
format: int64
2022120245
type: integer
20246+
oci_host_sum:
20247+
description: Shows the sum of all Oracle Cloud Infrastructure hosts over
20248+
all hours in the current date for the given org.
20249+
format: int64
20250+
type: integer
20251+
oci_host_top99p:
20252+
description: Shows the 99th percentile of all Oracle Cloud Infrastructure
20253+
hosts over all hours in the current date for the given org.
20254+
format: int64
20255+
type: integer
2022220256
online_archive_events_count_sum:
2022320257
description: Sum of all online archived events over all hours in the current
2022420258
date for the given org.
@@ -20981,6 +21015,16 @@ components:
2098121015
hours in the current month for all organizations.
2098221016
format: int64
2098321017
type: integer
21018+
oci_host_agg_sum:
21019+
description: Shows the sum of Oracle Cloud Infrastructure hosts over all
21020+
hours in the current months for all organizations
21021+
format: int64
21022+
type: integer
21023+
oci_host_top99p_sum:
21024+
description: Shows the 99th percentile of Oracle Cloud Infrastructure hosts
21025+
over all hours in the current months for all organizations
21026+
format: int64
21027+
type: integer
2098421028
online_archive_events_count_agg_sum:
2098521029
description: Sum of all online archived events over all hours in the current
2098621030
month for all organizations.

src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pub enum HourlyUsageAttributionUsageType {
6363
NPM_HOST_USAGE,
6464
OBS_PIPELINE_BYTES_USAGE,
6565
OBS_PIPELINE_VCPU_USAGE,
66+
OCI_USAGE,
6667
ONLINE_ARCHIVE_USAGE,
6768
PROFILED_CONTAINER_USAGE,
6869
PROFILED_FARGATE_USAGE,
@@ -154,6 +155,7 @@ impl ToString for HourlyUsageAttributionUsageType {
154155
Self::NPM_HOST_USAGE => String::from("npm_host_usage"),
155156
Self::OBS_PIPELINE_BYTES_USAGE => String::from("obs_pipeline_bytes_usage"),
156157
Self::OBS_PIPELINE_VCPU_USAGE => String::from("obs_pipelines_vcpu_usage"),
158+
Self::OCI_USAGE => String::from("oci_usage"),
157159
Self::ONLINE_ARCHIVE_USAGE => String::from("online_archive_usage"),
158160
Self::PROFILED_CONTAINER_USAGE => String::from("profiled_container_usage"),
159161
Self::PROFILED_FARGATE_USAGE => String::from("profiled_fargate_usage"),
@@ -261,6 +263,7 @@ impl<'de> Deserialize<'de> for HourlyUsageAttributionUsageType {
261263
"npm_host_usage" => Self::NPM_HOST_USAGE,
262264
"obs_pipeline_bytes_usage" => Self::OBS_PIPELINE_BYTES_USAGE,
263265
"obs_pipelines_vcpu_usage" => Self::OBS_PIPELINE_VCPU_USAGE,
266+
"oci_usage" => Self::OCI_USAGE,
264267
"online_archive_usage" => Self::ONLINE_ARCHIVE_USAGE,
265268
"profiled_container_usage" => Self::PROFILED_CONTAINER_USAGE,
266269
"profiled_fargate_usage" => Self::PROFILED_FARGATE_USAGE,

src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ pub enum MonthlyUsageAttributionSupportedMetrics {
7979
OBS_PIPELINE_BYTES_PERCENTAGE,
8080
OBS_PIPELINES_VCPU_USAGE,
8181
OBS_PIPELINES_VCPU_PERCENTAGE,
82+
OCI_USAGE,
83+
OCI_PERCENTAGE,
8284
ONLINE_ARCHIVE_USAGE,
8385
ONLINE_ARCHIVE_PERCENTAGE,
8486
PROFILED_CONTAINER_USAGE,
@@ -250,6 +252,8 @@ impl ToString for MonthlyUsageAttributionSupportedMetrics {
250252
Self::OBS_PIPELINE_BYTES_PERCENTAGE => String::from("obs_pipeline_bytes_percentage"),
251253
Self::OBS_PIPELINES_VCPU_USAGE => String::from("obs_pipelines_vcpu_usage"),
252254
Self::OBS_PIPELINES_VCPU_PERCENTAGE => String::from("obs_pipelines_vcpu_percentage"),
255+
Self::OCI_USAGE => String::from("oci_usage"),
256+
Self::OCI_PERCENTAGE => String::from("oci_percentage"),
253257
Self::ONLINE_ARCHIVE_USAGE => String::from("online_archive_usage"),
254258
Self::ONLINE_ARCHIVE_PERCENTAGE => String::from("online_archive_percentage"),
255259
Self::PROFILED_CONTAINER_USAGE => String::from("profiled_container_usage"),
@@ -449,6 +453,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionSupportedMetrics {
449453
"obs_pipeline_bytes_percentage" => Self::OBS_PIPELINE_BYTES_PERCENTAGE,
450454
"obs_pipelines_vcpu_usage" => Self::OBS_PIPELINES_VCPU_USAGE,
451455
"obs_pipelines_vcpu_percentage" => Self::OBS_PIPELINES_VCPU_PERCENTAGE,
456+
"oci_usage" => Self::OCI_USAGE,
457+
"oci_percentage" => Self::OCI_PERCENTAGE,
452458
"online_archive_usage" => Self::ONLINE_ARCHIVE_USAGE,
453459
"online_archive_percentage" => Self::ONLINE_ARCHIVE_PERCENTAGE,
454460
"profiled_container_usage" => Self::PROFILED_CONTAINER_USAGE,

src/datadogV1/model/model_monthly_usage_attribution_values.rs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,12 @@ pub struct MonthlyUsageAttributionValues {
335335
/// The observability pipeline per core usage by tag(s).
336336
#[serde(rename = "obs_pipelines_vcpu_usage")]
337337
pub obs_pipelines_vcpu_usage: Option<f64>,
338+
/// The percentage of Oracle Cloud Infrastructure usage by tag(s).
339+
#[serde(rename = "oci_percentage")]
340+
pub oci_percentage: Option<f64>,
341+
/// The Oracle Cloud Infrastructure usage by tag(s).
342+
#[serde(rename = "oci_usage")]
343+
pub oci_usage: Option<f64>,
338344
/// The percentage of online archive usage by tag(s).
339345
#[serde(rename = "online_archive_percentage")]
340346
pub online_archive_percentage: Option<f64>,
@@ -543,6 +549,8 @@ impl MonthlyUsageAttributionValues {
543549
obs_pipeline_bytes_usage: None,
544550
obs_pipelines_vcpu_percentage: None,
545551
obs_pipelines_vcpu_usage: None,
552+
oci_percentage: None,
553+
oci_usage: None,
546554
online_archive_percentage: None,
547555
online_archive_usage: None,
548556
profiled_container_percentage: None,
@@ -1118,6 +1126,16 @@ impl MonthlyUsageAttributionValues {
11181126
self
11191127
}
11201128

1129+
pub fn oci_percentage(mut self, value: f64) -> Self {
1130+
self.oci_percentage = Some(value);
1131+
self
1132+
}
1133+
1134+
pub fn oci_usage(mut self, value: f64) -> Self {
1135+
self.oci_usage = Some(value);
1136+
self
1137+
}
1138+
11211139
pub fn online_archive_percentage(mut self, value: f64) -> Self {
11221140
self.online_archive_percentage = Some(value);
11231141
self
@@ -1408,6 +1426,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
14081426
let mut obs_pipeline_bytes_usage: Option<f64> = None;
14091427
let mut obs_pipelines_vcpu_percentage: Option<f64> = None;
14101428
let mut obs_pipelines_vcpu_usage: Option<f64> = None;
1429+
let mut oci_percentage: Option<f64> = None;
1430+
let mut oci_usage: Option<f64> = None;
14111431
let mut online_archive_percentage: Option<f64> = None;
14121432
let mut online_archive_usage: Option<f64> = None;
14131433
let mut profiled_container_percentage: Option<f64> = None;
@@ -2201,6 +2221,19 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
22012221
obs_pipelines_vcpu_usage =
22022222
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
22032223
}
2224+
"oci_percentage" => {
2225+
if v.is_null() {
2226+
continue;
2227+
}
2228+
oci_percentage =
2229+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2230+
}
2231+
"oci_usage" => {
2232+
if v.is_null() {
2233+
continue;
2234+
}
2235+
oci_usage = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2236+
}
22042237
"online_archive_percentage" => {
22052238
if v.is_null() {
22062239
continue;
@@ -2527,6 +2560,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
25272560
obs_pipeline_bytes_usage,
25282561
obs_pipelines_vcpu_percentage,
25292562
obs_pipelines_vcpu_usage,
2563+
oci_percentage,
2564+
oci_usage,
25302565
online_archive_percentage,
25312566
online_archive_usage,
25322567
profiled_container_percentage,

src/datadogV1/model/model_usage_summary_date.rs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ pub struct UsageSummaryDate {
284284
/// Sum of all observability pipelines bytes processed over all hours in the current date for the given org.
285285
#[serde(rename = "observability_pipelines_bytes_processed_sum")]
286286
pub observability_pipelines_bytes_processed_sum: Option<i64>,
287+
/// Shows the sum of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
288+
#[serde(rename = "oci_host_sum")]
289+
pub oci_host_sum: Option<i64>,
290+
/// Shows the 99th percentile of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
291+
#[serde(rename = "oci_host_top99p")]
292+
pub oci_host_top99p: Option<i64>,
287293
/// Sum of all online archived events over all hours in the current date for all organizations.
288294
#[serde(rename = "online_archive_events_count_sum")]
289295
pub online_archive_events_count_sum: Option<i64>,
@@ -522,6 +528,8 @@ impl UsageSummaryDate {
522528
netflow_indexed_events_count_sum: None,
523529
npm_host_top99p: None,
524530
observability_pipelines_bytes_processed_sum: None,
531+
oci_host_sum: None,
532+
oci_host_top99p: None,
525533
online_archive_events_count_sum: None,
526534
opentelemetry_apm_host_top99p: None,
527535
opentelemetry_host_top99p: None,
@@ -1095,6 +1103,18 @@ impl UsageSummaryDate {
10951103
self
10961104
}
10971105

1106+
#[allow(deprecated)]
1107+
pub fn oci_host_sum(mut self, value: i64) -> Self {
1108+
self.oci_host_sum = Some(value);
1109+
self
1110+
}
1111+
1112+
#[allow(deprecated)]
1113+
pub fn oci_host_top99p(mut self, value: i64) -> Self {
1114+
self.oci_host_top99p = Some(value);
1115+
self
1116+
}
1117+
10981118
#[allow(deprecated)]
10991119
pub fn online_archive_events_count_sum(mut self, value: i64) -> Self {
11001120
self.online_archive_events_count_sum = Some(value);
@@ -1490,6 +1510,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
14901510
let mut netflow_indexed_events_count_sum: Option<i64> = None;
14911511
let mut npm_host_top99p: Option<i64> = None;
14921512
let mut observability_pipelines_bytes_processed_sum: Option<i64> = None;
1513+
let mut oci_host_sum: Option<i64> = None;
1514+
let mut oci_host_top99p: Option<i64> = None;
14931515
let mut online_archive_events_count_sum: Option<i64> = None;
14941516
let mut opentelemetry_apm_host_top99p: Option<i64> = None;
14951517
let mut opentelemetry_host_top99p: Option<i64> = None;
@@ -2152,6 +2174,20 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
21522174
observability_pipelines_bytes_processed_sum =
21532175
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
21542176
}
2177+
"oci_host_sum" => {
2178+
if v.is_null() {
2179+
continue;
2180+
}
2181+
oci_host_sum =
2182+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2183+
}
2184+
"oci_host_top99p" => {
2185+
if v.is_null() {
2186+
continue;
2187+
}
2188+
oci_host_top99p =
2189+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2190+
}
21552191
"online_archive_events_count_sum" => {
21562192
if v.is_null() {
21572193
continue;
@@ -2570,6 +2606,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
25702606
netflow_indexed_events_count_sum,
25712607
npm_host_top99p,
25722608
observability_pipelines_bytes_processed_sum,
2609+
oci_host_sum,
2610+
oci_host_top99p,
25732611
online_archive_events_count_sum,
25742612
opentelemetry_apm_host_top99p,
25752613
opentelemetry_host_top99p,

0 commit comments

Comments
 (0)