From 0d019dc8d20d6793fe7094306281fe2c7939a988 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 18 Dec 2024 14:16:08 +0000 Subject: [PATCH] Regenerate client from commit d1f49008 of spec repo --- .apigentools-info | 8 ++-- .generator/schemas/v1/openapi.yaml | 40 ++++++++++++++++-- .../model/model_usage_summary_date.rs | 40 +++++++++++++++++- .../model/model_usage_summary_date_org.rs | 40 +++++++++++++++++- .../model/model_usage_summary_response.rs | 41 ++++++++++++++++++- 5 files changed, 158 insertions(+), 11 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index ad9e55604..b777997c2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-17 15:51:05.376779", - "spec_repo_commit": "b82d3677" + "regenerated": "2024-12-18 14:10:06.027964", + "spec_repo_commit": "d1f49008" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-17 15:51:05.390982", - "spec_repo_commit": "b82d3677" + "regenerated": "2024-12-18 14:10:06.043287", + "spec_repo_commit": "d1f49008" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index ac76775f0..51185eef6 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -19697,7 +19697,8 @@ components: format: int64 type: integer avg_profiled_fargate_tasks: - description: The average profiled task count for Fargate Profiling. + description: The average total count for Fargate Container Profiler over + all hours in the current date for all organizations. format: int64 type: integer aws_host_top99p: @@ -19971,6 +19972,16 @@ components: hours in the current date for the given org. format: int64 type: integer + fargate_container_profiler_profiling_fargate_avg: + description: The average number of Profiling Fargate tasks over all hours + in the current date for all organizations. + format: int64 + type: integer + fargate_container_profiler_profiling_fargate_eks_avg: + description: The average number of Profiling Fargate Elastic Kubernetes + Service tasks over all hours in the current date for all organizations. + format: int64 + type: integer fargate_tasks_count_avg: description: Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations. @@ -20468,7 +20479,8 @@ components: format: int64 type: integer avg_profiled_fargate_tasks: - description: The average profiled task count for Fargate Profiling. + description: The average total count for Fargate Container Profiler over + all hours in the current month for the given org. format: int64 type: integer aws_host_top99p: @@ -20748,6 +20760,16 @@ components: hours in the current date for the given org. format: int64 type: integer + fargate_container_profiler_profiling_fargate_avg: + description: The average number of Profiling Fargate tasks over all hours + in the current month for the given org. + format: int64 + type: integer + fargate_container_profiler_profiling_fargate_eks_avg: + description: The average number of Profiling Fargate Elastic Kubernetes + Service tasks over all hours in the current month for the given org. + format: int64 + type: integer fargate_tasks_count_avg: description: The average task count for Fargate. format: int64 @@ -21243,8 +21265,8 @@ components: format: int64 type: integer avg_profiled_fargate_tasks_sum: - description: Shows the average of all profiled Fargate tasks over all hours - in the current month for all organizations. + description: The average total count for Fargate Container Profiler over + all hours in the current month for all organizations. format: int64 type: integer aws_host_top99p_sum: @@ -21532,6 +21554,16 @@ components: hours in the current month for all organizations. format: int64 type: integer + fargate_container_profiler_profiling_fargate_avg_sum: + description: The average number of Profiling Fargate tasks over all hours + in the current month for all organizations. + format: int64 + type: integer + fargate_container_profiler_profiling_fargate_eks_avg_sum: + description: The average number of Profiling Fargate Elastic Kubernetes + Service tasks over all hours in the current month for all organizations. + format: int64 + type: integer fargate_tasks_count_avg_sum: description: Shows the average of all Fargate tasks over all hours in the current month for all organizations. diff --git a/src/datadogV1/model/model_usage_summary_date.rs b/src/datadogV1/model/model_usage_summary_date.rs index a2eb48a76..7e5bde6d4 100644 --- a/src/datadogV1/model/model_usage_summary_date.rs +++ b/src/datadogV1/model/model_usage_summary_date.rs @@ -39,7 +39,7 @@ pub struct UsageSummaryDate { /// Shows the number of organizations that had Audit Trail enabled in the current date. #[serde(rename = "audit_trail_enabled_hwm")] pub audit_trail_enabled_hwm: Option, - /// The average profiled task count for Fargate Profiling. + /// The average total count for Fargate Container Profiler over all hours in the current date for all organizations. #[serde(rename = "avg_profiled_fargate_tasks")] pub avg_profiled_fargate_tasks: Option, /// Shows the 99th percentile of all AWS hosts over all hours in the current date for all organizations. @@ -200,6 +200,12 @@ pub struct UsageSummaryDate { /// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org. #[serde(rename = "error_tracking_rum_error_events_sum")] pub error_tracking_rum_error_events_sum: Option, + /// The average number of Profiling Fargate tasks over all hours in the current date for all organizations. + #[serde(rename = "fargate_container_profiler_profiling_fargate_avg")] + pub fargate_container_profiler_profiling_fargate_avg: Option, + /// The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current date for all organizations. + #[serde(rename = "fargate_container_profiler_profiling_fargate_eks_avg")] + pub fargate_container_profiler_profiling_fargate_eks_avg: Option, /// Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations. #[serde(rename = "fargate_tasks_count_avg")] pub fargate_tasks_count_avg: Option, @@ -521,6 +527,8 @@ impl UsageSummaryDate { error_tracking_error_events_sum: None, error_tracking_events_sum: None, error_tracking_rum_error_events_sum: None, + fargate_container_profiler_profiling_fargate_avg: None, + fargate_container_profiler_profiling_fargate_eks_avg: None, fargate_tasks_count_avg: None, fargate_tasks_count_hwm: None, flex_logs_compute_large_avg: None, @@ -977,6 +985,18 @@ impl UsageSummaryDate { self } + #[allow(deprecated)] + pub fn fargate_container_profiler_profiling_fargate_avg(mut self, value: i64) -> Self { + self.fargate_container_profiler_profiling_fargate_avg = Some(value); + self + } + + #[allow(deprecated)] + pub fn fargate_container_profiler_profiling_fargate_eks_avg(mut self, value: i64) -> Self { + self.fargate_container_profiler_profiling_fargate_eks_avg = Some(value); + self + } + #[allow(deprecated)] pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self { self.fargate_tasks_count_avg = Some(value); @@ -1545,6 +1565,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate { let mut error_tracking_error_events_sum: Option = None; let mut error_tracking_events_sum: Option = None; let mut error_tracking_rum_error_events_sum: Option = None; + let mut fargate_container_profiler_profiling_fargate_avg: Option = None; + let mut fargate_container_profiler_profiling_fargate_eks_avg: Option = None; let mut fargate_tasks_count_avg: Option = None; let mut fargate_tasks_count_hwm: Option = None; let mut flex_logs_compute_large_avg: Option = None; @@ -2065,6 +2087,20 @@ impl<'de> Deserialize<'de> for UsageSummaryDate { error_tracking_rum_error_events_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?); } + "fargate_container_profiler_profiling_fargate_avg" => { + if v.is_null() { + continue; + } + fargate_container_profiler_profiling_fargate_avg = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } + "fargate_container_profiler_profiling_fargate_eks_avg" => { + if v.is_null() { + continue; + } + fargate_container_profiler_profiling_fargate_eks_avg = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } "fargate_tasks_count_avg" => { if v.is_null() { continue; @@ -2689,6 +2725,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate { error_tracking_error_events_sum, error_tracking_events_sum, error_tracking_rum_error_events_sum, + fargate_container_profiler_profiling_fargate_avg, + fargate_container_profiler_profiling_fargate_eks_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, flex_logs_compute_large_avg, diff --git a/src/datadogV1/model/model_usage_summary_date_org.rs b/src/datadogV1/model/model_usage_summary_date_org.rs index e9f052ac4..ccd5718a9 100644 --- a/src/datadogV1/model/model_usage_summary_date_org.rs +++ b/src/datadogV1/model/model_usage_summary_date_org.rs @@ -45,7 +45,7 @@ pub struct UsageSummaryDateOrg { /// Shows whether Audit Trail is enabled for the current date for the given org. #[serde(rename = "audit_trail_enabled_hwm")] pub audit_trail_enabled_hwm: Option, - /// The average profiled task count for Fargate Profiling. + /// The average total count for Fargate Container Profiler over all hours in the current month for the given org. #[serde(rename = "avg_profiled_fargate_tasks")] pub avg_profiled_fargate_tasks: Option, /// Shows the 99th percentile of all AWS hosts over all hours in the current date for the given org. @@ -209,6 +209,12 @@ pub struct UsageSummaryDateOrg { /// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org. #[serde(rename = "error_tracking_rum_error_events_sum")] pub error_tracking_rum_error_events_sum: Option, + /// The average number of Profiling Fargate tasks over all hours in the current month for the given org. + #[serde(rename = "fargate_container_profiler_profiling_fargate_avg")] + pub fargate_container_profiler_profiling_fargate_avg: Option, + /// The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current month for the given org. + #[serde(rename = "fargate_container_profiler_profiling_fargate_eks_avg")] + pub fargate_container_profiler_profiling_fargate_eks_avg: Option, /// The average task count for Fargate. #[serde(rename = "fargate_tasks_count_avg")] pub fargate_tasks_count_avg: Option, @@ -543,6 +549,8 @@ impl UsageSummaryDateOrg { error_tracking_error_events_sum: None, error_tracking_events_sum: None, error_tracking_rum_error_events_sum: None, + fargate_container_profiler_profiling_fargate_avg: None, + fargate_container_profiler_profiling_fargate_eks_avg: None, fargate_tasks_count_avg: None, fargate_tasks_count_hwm: None, flex_logs_compute_large_avg: None, @@ -1020,6 +1028,18 @@ impl UsageSummaryDateOrg { self } + #[allow(deprecated)] + pub fn fargate_container_profiler_profiling_fargate_avg(mut self, value: i64) -> Self { + self.fargate_container_profiler_profiling_fargate_avg = Some(value); + self + } + + #[allow(deprecated)] + pub fn fargate_container_profiler_profiling_fargate_eks_avg(mut self, value: i64) -> Self { + self.fargate_container_profiler_profiling_fargate_eks_avg = Some(value); + self + } + #[allow(deprecated)] pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self { self.fargate_tasks_count_avg = Some(value); @@ -1609,6 +1629,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg { let mut error_tracking_error_events_sum: Option = None; let mut error_tracking_events_sum: Option = None; let mut error_tracking_rum_error_events_sum: Option = None; + let mut fargate_container_profiler_profiling_fargate_avg: Option = None; + let mut fargate_container_profiler_profiling_fargate_eks_avg: Option = None; let mut fargate_tasks_count_avg: Option = None; let mut fargate_tasks_count_hwm: Option = None; let mut flex_logs_compute_large_avg: Option = None; @@ -2154,6 +2176,20 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg { error_tracking_rum_error_events_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?); } + "fargate_container_profiler_profiling_fargate_avg" => { + if v.is_null() { + continue; + } + fargate_container_profiler_profiling_fargate_avg = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } + "fargate_container_profiler_profiling_fargate_eks_avg" => { + if v.is_null() { + continue; + } + fargate_container_profiler_profiling_fargate_eks_avg = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } "fargate_tasks_count_avg" => { if v.is_null() { continue; @@ -2799,6 +2835,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg { error_tracking_error_events_sum, error_tracking_events_sum, error_tracking_rum_error_events_sum, + fargate_container_profiler_profiling_fargate_avg, + fargate_container_profiler_profiling_fargate_eks_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, flex_logs_compute_large_avg, diff --git a/src/datadogV1/model/model_usage_summary_response.rs b/src/datadogV1/model/model_usage_summary_response.rs index 36a6abb72..ae5456f76 100644 --- a/src/datadogV1/model/model_usage_summary_response.rs +++ b/src/datadogV1/model/model_usage_summary_response.rs @@ -39,7 +39,7 @@ pub struct UsageSummaryResponse { /// Shows the total number of organizations that had Audit Trail enabled over a specific number of months. #[serde(rename = "audit_trail_enabled_hwm_sum")] pub audit_trail_enabled_hwm_sum: Option, - /// Shows the average of all profiled Fargate tasks over all hours in the current month for all organizations. + /// The average total count for Fargate Container Profiler over all hours in the current month for all organizations. #[serde(rename = "avg_profiled_fargate_tasks_sum")] pub avg_profiled_fargate_tasks_sum: Option, /// Shows the 99th percentile of all AWS hosts over all hours in the current month for all organizations. @@ -209,6 +209,12 @@ pub struct UsageSummaryResponse { /// Shows the sum of all Error Tracking RUM error events over all hours in the current month for all organizations. #[serde(rename = "error_tracking_rum_error_events_agg_sum")] pub error_tracking_rum_error_events_agg_sum: Option, + /// The average number of Profiling Fargate tasks over all hours in the current month for all organizations. + #[serde(rename = "fargate_container_profiler_profiling_fargate_avg_sum")] + pub fargate_container_profiler_profiling_fargate_avg_sum: Option, + /// The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current month for all organizations. + #[serde(rename = "fargate_container_profiler_profiling_fargate_eks_avg_sum")] + pub fargate_container_profiler_profiling_fargate_eks_avg_sum: Option, /// Shows the average of all Fargate tasks over all hours in the current month for all organizations. #[serde(rename = "fargate_tasks_count_avg_sum")] pub fargate_tasks_count_avg_sum: Option, @@ -560,6 +566,8 @@ impl UsageSummaryResponse { error_tracking_error_events_agg_sum: None, error_tracking_events_agg_sum: None, error_tracking_rum_error_events_agg_sum: None, + fargate_container_profiler_profiling_fargate_avg_sum: None, + fargate_container_profiler_profiling_fargate_eks_avg_sum: None, fargate_tasks_count_avg_sum: None, fargate_tasks_count_hwm_sum: None, flex_logs_compute_large_avg_sum: None, @@ -1042,6 +1050,18 @@ impl UsageSummaryResponse { self } + #[allow(deprecated)] + pub fn fargate_container_profiler_profiling_fargate_avg_sum(mut self, value: i64) -> Self { + self.fargate_container_profiler_profiling_fargate_avg_sum = Some(value); + self + } + + #[allow(deprecated)] + pub fn fargate_container_profiler_profiling_fargate_eks_avg_sum(mut self, value: i64) -> Self { + self.fargate_container_profiler_profiling_fargate_eks_avg_sum = Some(value); + self + } + #[allow(deprecated)] pub fn fargate_tasks_count_avg_sum(mut self, value: i64) -> Self { self.fargate_tasks_count_avg_sum = Some(value); @@ -1661,6 +1681,9 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse { let mut error_tracking_error_events_agg_sum: Option = None; let mut error_tracking_events_agg_sum: Option = None; let mut error_tracking_rum_error_events_agg_sum: Option = None; + let mut fargate_container_profiler_profiling_fargate_avg_sum: Option = None; + let mut fargate_container_profiler_profiling_fargate_eks_avg_sum: Option = + None; let mut fargate_tasks_count_avg_sum: Option = None; let mut fargate_tasks_count_hwm_sum: Option = None; let mut flex_logs_compute_large_avg_sum: Option = None; @@ -2210,6 +2233,20 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse { error_tracking_rum_error_events_agg_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?); } + "fargate_container_profiler_profiling_fargate_avg_sum" => { + if v.is_null() { + continue; + } + fargate_container_profiler_profiling_fargate_avg_sum = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } + "fargate_container_profiler_profiling_fargate_eks_avg_sum" => { + if v.is_null() { + continue; + } + fargate_container_profiler_profiling_fargate_eks_avg_sum = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } "fargate_tasks_count_avg_sum" => { if v.is_null() { continue; @@ -2892,6 +2929,8 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse { error_tracking_error_events_agg_sum, error_tracking_events_agg_sum, error_tracking_rum_error_events_agg_sum, + fargate_container_profiler_profiling_fargate_avg_sum, + fargate_container_profiler_profiling_fargate_eks_avg_sum, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, flex_logs_compute_large_avg_sum,