Skip to content

Commit b425220

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 4085ff4 of spec repo
1 parent 2dffd3e commit b425220

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4306,6 +4306,7 @@ components:
43064306
- estimated_indexed_spans_usage
43074307
- estimated_ingested_spans_usage
43084308
- fargate_usage
4309+
- flex_stored_logs
43094310
- functions_usage
43104311
- incident_management_monthly_active_users_usage
43114312
- indexed_spans_usage
@@ -4387,6 +4388,7 @@ components:
43874388
- ESTIMATED_INDEXED_SPANS_USAGE
43884389
- ESTIMATED_INGESTED_SPANS_USAGE
43894390
- FARGATE_USAGE
4391+
- FLEX_STORED_LOGS
43904392
- FUNCTIONS_USAGE
43914393
- INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE
43924394
- INDEXED_SPANS_USAGE
@@ -8740,6 +8742,8 @@ components:
87408742
- estimated_ingested_spans_percentage
87418743
- fargate_usage
87428744
- fargate_percentage
8745+
- flex_stored_logs_usage
8746+
- flex_stored_logs_percentage
87438747
- functions_usage
87448748
- functions_percentage
87458749
- incident_management_monthly_active_users_usage
@@ -8897,6 +8901,8 @@ components:
88978901
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
88988902
- FARGATE_USAGE
88998903
- FARGATE_PERCENTAGE
8904+
- FLEX_STORED_LOGS_USAGE
8905+
- FLEX_STORED_LOGS_PERCENTAGE
89008906
- FUNCTIONS_USAGE
89018907
- FUNCTIONS_PERCENTAGE
89028908
- INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE
@@ -9256,6 +9262,14 @@ components:
92569262
description: The Fargate usage by tags.
92579263
format: double
92589264
type: number
9265+
flex_stored_logs_percentage:
9266+
description: The percentage of Flex Stored Logs usage by tag(s).
9267+
format: double
9268+
type: number
9269+
flex_stored_logs_usage:
9270+
description: The Flex Stored Logs usage by tag(s).
9271+
format: double
9272+
type: number
92599273
functions_percentage:
92609274
description: The percentage of Lambda function usage by tag(s).
92619275
format: double

src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub enum HourlyUsageAttributionUsageType {
4040
ESTIMATED_INDEXED_SPANS_USAGE,
4141
ESTIMATED_INGESTED_SPANS_USAGE,
4242
FARGATE_USAGE,
43+
FLEX_STORED_LOGS,
4344
FUNCTIONS_USAGE,
4445
INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE,
4546
INDEXED_SPANS_USAGE,
@@ -133,6 +134,7 @@ impl ToString for HourlyUsageAttributionUsageType {
133134
Self::ESTIMATED_INDEXED_SPANS_USAGE => String::from("estimated_indexed_spans_usage"),
134135
Self::ESTIMATED_INGESTED_SPANS_USAGE => String::from("estimated_ingested_spans_usage"),
135136
Self::FARGATE_USAGE => String::from("fargate_usage"),
137+
Self::FLEX_STORED_LOGS => String::from("flex_stored_logs"),
136138
Self::FUNCTIONS_USAGE => String::from("functions_usage"),
137139
Self::INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE => {
138140
String::from("incident_management_monthly_active_users_usage")
@@ -256,6 +258,7 @@ impl<'de> Deserialize<'de> for HourlyUsageAttributionUsageType {
256258
"estimated_indexed_spans_usage" => Self::ESTIMATED_INDEXED_SPANS_USAGE,
257259
"estimated_ingested_spans_usage" => Self::ESTIMATED_INGESTED_SPANS_USAGE,
258260
"fargate_usage" => Self::FARGATE_USAGE,
261+
"flex_stored_logs" => Self::FLEX_STORED_LOGS,
259262
"functions_usage" => Self::FUNCTIONS_USAGE,
260263
"incident_management_monthly_active_users_usage" => {
261264
Self::INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_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
@@ -63,6 +63,8 @@ pub enum MonthlyUsageAttributionSupportedMetrics {
6363
ESTIMATED_INGESTED_SPANS_PERCENTAGE,
6464
FARGATE_USAGE,
6565
FARGATE_PERCENTAGE,
66+
FLEX_STORED_LOGS_USAGE,
67+
FLEX_STORED_LOGS_PERCENTAGE,
6668
FUNCTIONS_USAGE,
6769
FUNCTIONS_PERCENTAGE,
6870
INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE,
@@ -242,6 +244,8 @@ impl ToString for MonthlyUsageAttributionSupportedMetrics {
242244
}
243245
Self::FARGATE_USAGE => String::from("fargate_usage"),
244246
Self::FARGATE_PERCENTAGE => String::from("fargate_percentage"),
247+
Self::FLEX_STORED_LOGS_USAGE => String::from("flex_stored_logs_usage"),
248+
Self::FLEX_STORED_LOGS_PERCENTAGE => String::from("flex_stored_logs_percentage"),
245249
Self::FUNCTIONS_USAGE => String::from("functions_usage"),
246250
Self::FUNCTIONS_PERCENTAGE => String::from("functions_percentage"),
247251
Self::INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE => {
@@ -469,6 +473,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionSupportedMetrics {
469473
"estimated_ingested_spans_percentage" => Self::ESTIMATED_INGESTED_SPANS_PERCENTAGE,
470474
"fargate_usage" => Self::FARGATE_USAGE,
471475
"fargate_percentage" => Self::FARGATE_PERCENTAGE,
476+
"flex_stored_logs_usage" => Self::FLEX_STORED_LOGS_USAGE,
477+
"flex_stored_logs_percentage" => Self::FLEX_STORED_LOGS_PERCENTAGE,
472478
"functions_usage" => Self::FUNCTIONS_USAGE,
473479
"functions_percentage" => Self::FUNCTIONS_PERCENTAGE,
474480
"incident_management_monthly_active_users_usage" => {

src/datadogV1/model/model_monthly_usage_attribution_values.rs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ pub struct MonthlyUsageAttributionValues {
192192
/// The Fargate usage by tags.
193193
#[serde(rename = "fargate_usage")]
194194
pub fargate_usage: Option<f64>,
195+
/// The percentage of Flex Stored Logs usage by tag(s).
196+
#[serde(rename = "flex_stored_logs_percentage")]
197+
pub flex_stored_logs_percentage: Option<f64>,
198+
/// The Flex Stored Logs usage by tag(s).
199+
#[serde(rename = "flex_stored_logs_usage")]
200+
pub flex_stored_logs_usage: Option<f64>,
195201
/// The percentage of Lambda function usage by tag(s).
196202
#[serde(rename = "functions_percentage")]
197203
pub functions_percentage: Option<f64>,
@@ -538,6 +544,8 @@ impl MonthlyUsageAttributionValues {
538544
estimated_ingested_spans_usage: None,
539545
fargate_percentage: None,
540546
fargate_usage: None,
547+
flex_stored_logs_percentage: None,
548+
flex_stored_logs_usage: None,
541549
functions_percentage: None,
542550
functions_usage: None,
543551
incident_management_monthly_active_users_percentage: None,
@@ -935,6 +943,16 @@ impl MonthlyUsageAttributionValues {
935943
self
936944
}
937945

946+
pub fn flex_stored_logs_percentage(mut self, value: f64) -> Self {
947+
self.flex_stored_logs_percentage = Some(value);
948+
self
949+
}
950+
951+
pub fn flex_stored_logs_usage(mut self, value: f64) -> Self {
952+
self.flex_stored_logs_usage = Some(value);
953+
self
954+
}
955+
938956
pub fn functions_percentage(mut self, value: f64) -> Self {
939957
self.functions_percentage = Some(value);
940958
self
@@ -1487,6 +1505,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
14871505
let mut estimated_ingested_spans_usage: Option<f64> = None;
14881506
let mut fargate_percentage: Option<f64> = None;
14891507
let mut fargate_usage: Option<f64> = None;
1508+
let mut flex_stored_logs_percentage: Option<f64> = None;
1509+
let mut flex_stored_logs_usage: Option<f64> = None;
14901510
let mut functions_percentage: Option<f64> = None;
14911511
let mut functions_usage: Option<f64> = None;
14921512
let mut incident_management_monthly_active_users_percentage: Option<f64> = None;
@@ -2006,6 +2026,20 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
20062026
fargate_usage =
20072027
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
20082028
}
2029+
"flex_stored_logs_percentage" => {
2030+
if v.is_null() {
2031+
continue;
2032+
}
2033+
flex_stored_logs_percentage =
2034+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2035+
}
2036+
"flex_stored_logs_usage" => {
2037+
if v.is_null() {
2038+
continue;
2039+
}
2040+
flex_stored_logs_usage =
2041+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2042+
}
20092043
"functions_percentage" => {
20102044
if v.is_null() {
20112045
continue;
@@ -2718,6 +2752,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
27182752
estimated_ingested_spans_usage,
27192753
fargate_percentage,
27202754
fargate_usage,
2755+
flex_stored_logs_percentage,
2756+
flex_stored_logs_usage,
27212757
functions_percentage,
27222758
functions_usage,
27232759
incident_management_monthly_active_users_percentage,

0 commit comments

Comments
 (0)