Skip to content

Commit 502f8f8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Added spec for flex_logs_starter (#3431)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 118b5d4 commit 502f8f8

File tree

4 files changed

+86
-0
lines changed

4 files changed

+86
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4514,6 +4514,7 @@ components:
45144514
- estimated_indexed_spans_usage
45154515
- estimated_ingested_spans_usage
45164516
- fargate_usage
4517+
- flex_logs_starter
45174518
- flex_stored_logs
45184519
- functions_usage
45194520
- incident_management_monthly_active_users_usage
@@ -4598,6 +4599,7 @@ components:
45984599
- ESTIMATED_INDEXED_SPANS_USAGE
45994600
- ESTIMATED_INGESTED_SPANS_USAGE
46004601
- FARGATE_USAGE
4602+
- FLEX_LOGS_STARTER
46014603
- FLEX_STORED_LOGS
46024604
- FUNCTIONS_USAGE
46034605
- INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE
@@ -9086,6 +9088,8 @@ components:
90869088
- estimated_ingested_spans_percentage
90879089
- fargate_usage
90889090
- fargate_percentage
9091+
- flex_logs_starter_usage
9092+
- flex_logs_starter_percentage
90899093
- flex_stored_logs_usage
90909094
- flex_stored_logs_percentage
90919095
- functions_usage
@@ -9249,6 +9253,8 @@ components:
92499253
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
92509254
- FARGATE_USAGE
92519255
- FARGATE_PERCENTAGE
9256+
- FLEX_LOGS_STARTER_USAGE
9257+
- FLEX_LOGS_STARTER_PERCENTAGE
92529258
- FLEX_STORED_LOGS_USAGE
92539259
- FLEX_STORED_LOGS_PERCENTAGE
92549260
- FUNCTIONS_USAGE
@@ -9620,6 +9626,14 @@ components:
96209626
description: The Fargate usage by tags.
96219627
format: double
96229628
type: number
9629+
flex_logs_starter_percentage:
9630+
description: The percentage of Flex Logs Starter usage by tags.
9631+
format: double
9632+
type: number
9633+
flex_logs_starter_usage:
9634+
description: The Flex Logs Starter usage by tags.
9635+
format: double
9636+
type: number
96239637
flex_stored_logs_percentage:
96249638
description: The percentage of Flex Stored Logs usage by tags.
96259639
format: double

src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
6464
"estimated_indexed_spans_usage",
6565
"estimated_ingested_spans_usage",
6666
"fargate_usage",
67+
"flex_logs_starter",
6768
"flex_stored_logs",
6869
"functions_usage",
6970
"incident_management_monthly_active_users_usage",
@@ -181,6 +182,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
181182
new HourlyUsageAttributionUsageType("estimated_ingested_spans_usage");
182183
public static final HourlyUsageAttributionUsageType FARGATE_USAGE =
183184
new HourlyUsageAttributionUsageType("fargate_usage");
185+
public static final HourlyUsageAttributionUsageType FLEX_LOGS_STARTER =
186+
new HourlyUsageAttributionUsageType("flex_logs_starter");
184187
public static final HourlyUsageAttributionUsageType FLEX_STORED_LOGS =
185188
new HourlyUsageAttributionUsageType("flex_stored_logs");
186189
public static final HourlyUsageAttributionUsageType FUNCTIONS_USAGE =

src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionSupportedMetrics.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
8686
"estimated_ingested_spans_percentage",
8787
"fargate_usage",
8888
"fargate_percentage",
89+
"flex_logs_starter_usage",
90+
"flex_logs_starter_percentage",
8991
"flex_stored_logs_usage",
9092
"flex_stored_logs_percentage",
9193
"functions_usage",
@@ -310,6 +312,10 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
310312
new MonthlyUsageAttributionSupportedMetrics("fargate_usage");
311313
public static final MonthlyUsageAttributionSupportedMetrics FARGATE_PERCENTAGE =
312314
new MonthlyUsageAttributionSupportedMetrics("fargate_percentage");
315+
public static final MonthlyUsageAttributionSupportedMetrics FLEX_LOGS_STARTER_USAGE =
316+
new MonthlyUsageAttributionSupportedMetrics("flex_logs_starter_usage");
317+
public static final MonthlyUsageAttributionSupportedMetrics FLEX_LOGS_STARTER_PERCENTAGE =
318+
new MonthlyUsageAttributionSupportedMetrics("flex_logs_starter_percentage");
313319
public static final MonthlyUsageAttributionSupportedMetrics FLEX_STORED_LOGS_USAGE =
314320
new MonthlyUsageAttributionSupportedMetrics("flex_stored_logs_usage");
315321
public static final MonthlyUsageAttributionSupportedMetrics FLEX_STORED_LOGS_PERCENTAGE =

src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
MonthlyUsageAttributionValues.JSON_PROPERTY_ESTIMATED_INGESTED_SPANS_USAGE,
8585
MonthlyUsageAttributionValues.JSON_PROPERTY_FARGATE_PERCENTAGE,
8686
MonthlyUsageAttributionValues.JSON_PROPERTY_FARGATE_USAGE,
87+
MonthlyUsageAttributionValues.JSON_PROPERTY_FLEX_LOGS_STARTER_PERCENTAGE,
88+
MonthlyUsageAttributionValues.JSON_PROPERTY_FLEX_LOGS_STARTER_USAGE,
8789
MonthlyUsageAttributionValues.JSON_PROPERTY_FLEX_STORED_LOGS_PERCENTAGE,
8890
MonthlyUsageAttributionValues.JSON_PROPERTY_FLEX_STORED_LOGS_USAGE,
8991
MonthlyUsageAttributionValues.JSON_PROPERTY_FUNCTIONS_PERCENTAGE,
@@ -394,6 +396,13 @@ public class MonthlyUsageAttributionValues {
394396
public static final String JSON_PROPERTY_FARGATE_USAGE = "fargate_usage";
395397
private Double fargateUsage;
396398

399+
public static final String JSON_PROPERTY_FLEX_LOGS_STARTER_PERCENTAGE =
400+
"flex_logs_starter_percentage";
401+
private Double flexLogsStarterPercentage;
402+
403+
public static final String JSON_PROPERTY_FLEX_LOGS_STARTER_USAGE = "flex_logs_starter_usage";
404+
private Double flexLogsStarterUsage;
405+
397406
public static final String JSON_PROPERTY_FLEX_STORED_LOGS_PERCENTAGE =
398407
"flex_stored_logs_percentage";
399408
private Double flexStoredLogsPercentage;
@@ -2047,6 +2056,48 @@ public void setFargateUsage(Double fargateUsage) {
20472056
this.fargateUsage = fargateUsage;
20482057
}
20492058

2059+
public MonthlyUsageAttributionValues flexLogsStarterPercentage(Double flexLogsStarterPercentage) {
2060+
this.flexLogsStarterPercentage = flexLogsStarterPercentage;
2061+
return this;
2062+
}
2063+
2064+
/**
2065+
* The percentage of Flex Logs Starter usage by tags.
2066+
*
2067+
* @return flexLogsStarterPercentage
2068+
*/
2069+
@jakarta.annotation.Nullable
2070+
@JsonProperty(JSON_PROPERTY_FLEX_LOGS_STARTER_PERCENTAGE)
2071+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2072+
public Double getFlexLogsStarterPercentage() {
2073+
return flexLogsStarterPercentage;
2074+
}
2075+
2076+
public void setFlexLogsStarterPercentage(Double flexLogsStarterPercentage) {
2077+
this.flexLogsStarterPercentage = flexLogsStarterPercentage;
2078+
}
2079+
2080+
public MonthlyUsageAttributionValues flexLogsStarterUsage(Double flexLogsStarterUsage) {
2081+
this.flexLogsStarterUsage = flexLogsStarterUsage;
2082+
return this;
2083+
}
2084+
2085+
/**
2086+
* The Flex Logs Starter usage by tags.
2087+
*
2088+
* @return flexLogsStarterUsage
2089+
*/
2090+
@jakarta.annotation.Nullable
2091+
@JsonProperty(JSON_PROPERTY_FLEX_LOGS_STARTER_USAGE)
2092+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2093+
public Double getFlexLogsStarterUsage() {
2094+
return flexLogsStarterUsage;
2095+
}
2096+
2097+
public void setFlexLogsStarterUsage(Double flexLogsStarterUsage) {
2098+
this.flexLogsStarterUsage = flexLogsStarterUsage;
2099+
}
2100+
20502101
public MonthlyUsageAttributionValues flexStoredLogsPercentage(Double flexStoredLogsPercentage) {
20512102
this.flexStoredLogsPercentage = flexStoredLogsPercentage;
20522103
return this;
@@ -4273,6 +4324,10 @@ public boolean equals(Object o) {
42734324
monthlyUsageAttributionValues.estimatedIngestedSpansUsage)
42744325
&& Objects.equals(this.fargatePercentage, monthlyUsageAttributionValues.fargatePercentage)
42754326
&& Objects.equals(this.fargateUsage, monthlyUsageAttributionValues.fargateUsage)
4327+
&& Objects.equals(
4328+
this.flexLogsStarterPercentage, monthlyUsageAttributionValues.flexLogsStarterPercentage)
4329+
&& Objects.equals(
4330+
this.flexLogsStarterUsage, monthlyUsageAttributionValues.flexLogsStarterUsage)
42764331
&& Objects.equals(
42774332
this.flexStoredLogsPercentage, monthlyUsageAttributionValues.flexStoredLogsPercentage)
42784333
&& Objects.equals(
@@ -4554,6 +4609,8 @@ public int hashCode() {
45544609
estimatedIngestedSpansUsage,
45554610
fargatePercentage,
45564611
fargateUsage,
4612+
flexLogsStarterPercentage,
4613+
flexLogsStarterUsage,
45574614
flexStoredLogsPercentage,
45584615
flexStoredLogsUsage,
45594616
functionsPercentage,
@@ -4793,6 +4850,12 @@ public String toString() {
47934850
.append("\n");
47944851
sb.append(" fargatePercentage: ").append(toIndentedString(fargatePercentage)).append("\n");
47954852
sb.append(" fargateUsage: ").append(toIndentedString(fargateUsage)).append("\n");
4853+
sb.append(" flexLogsStarterPercentage: ")
4854+
.append(toIndentedString(flexLogsStarterPercentage))
4855+
.append("\n");
4856+
sb.append(" flexLogsStarterUsage: ")
4857+
.append(toIndentedString(flexLogsStarterUsage))
4858+
.append("\n");
47964859
sb.append(" flexStoredLogsPercentage: ")
47974860
.append(toIndentedString(flexStoredLogsPercentage))
47984861
.append("\n");

0 commit comments

Comments
 (0)