Skip to content

Commit 57c0121

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add new keys for CWS Fargate Task in summary usage and usage attribution endpoints (#1901)
* Regenerate client from commit ae3b5463 of spec repo * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 7f16719 commit 57c0121

File tree

9 files changed

+92
-8
lines changed

9 files changed

+92
-8
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-11-08 14:25:32.181667",
8-
"spec_repo_commit": "d907813e"
7+
"regenerated": "2024-11-08 19:36:35.931793",
8+
"spec_repo_commit": "ae3b5463"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-08 14:25:32.200333",
13-
"spec_repo_commit": "d907813e"
12+
"regenerated": "2024-11-08 19:36:35.950628",
13+
"spec_repo_commit": "ae3b5463"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4187,6 +4187,7 @@ components:
41874187
- custom_ingested_timeseries_usage
41884188
- custom_timeseries_usage
41894189
- cws_containers_usage
4190+
- cws_fargate_task_usage
41904191
- cws_hosts_usage
41914192
- data_jobs_monitoring_usage
41924193
- data_stream_monitoring_usage
@@ -4259,6 +4260,7 @@ components:
42594260
- CUSTOM_INGESTED_TIMESERIES_USAGE
42604261
- CUSTOM_TIMESERIES_USAGE
42614262
- CWS_CONTAINERS_USAGE
4263+
- CWS_FARGATE_TASK_USAGE
42624264
- CWS_HOSTS_USAGE
42634265
- DATA_JOBS_MONITORING_USAGE
42644266
- DATA_STREAM_MONITORING_USAGE
@@ -7939,6 +7941,8 @@ components:
79397941
- custom_ingested_timeseries_percentage
79407942
- cws_containers_percentage
79417943
- cws_containers_usage
7944+
- cws_fargate_task_percentage
7945+
- cws_fargate_task_usage
79427946
- cws_hosts_percentage
79437947
- cws_hosts_usage
79447948
- data_jobs_monitoring_usage
@@ -8078,6 +8082,8 @@ components:
80788082
- CUSTOM_INGESTED_TIMESERIES_PERCENTAGE
80798083
- CWS_CONTAINERS_PERCENTAGE
80808084
- CWS_CONTAINERS_USAGE
8085+
- CWS_FARGATE_TASK_PERCENTAGE
8086+
- CWS_FARGATE_TASK_USAGE
80818087
- CWS_HOSTS_PERCENTAGE
80828088
- CWS_HOSTS_USAGE
80838089
- DATA_JOBS_MONITORING_USAGE
@@ -8357,6 +8363,15 @@ components:
83578363
description: The Cloud Workload Security container usage by tag(s).
83588364
format: double
83598365
type: number
8366+
cws_fargate_task_percentage:
8367+
description: The percentage of Cloud Workload Security Fargate task usage
8368+
by tag(s).
8369+
format: double
8370+
type: number
8371+
cws_fargate_task_usage:
8372+
description: The Cloud Workload Security Fargate task usage by tag(s).
8373+
format: double
8374+
type: number
83608375
cws_hosts_percentage:
83618376
description: The percentage of Cloud Workload Security host usage by tag(s).
83628377
format: double
@@ -19909,6 +19924,11 @@ components:
1990919924
over all hours in the current date for all organizations.
1991019925
format: int64
1991119926
type: integer
19927+
cws_fargate_task_avg:
19928+
description: Shows the average of all distinct Cloud Workload Security Fargate
19929+
tasks over all hours in the current date for all organizations.
19930+
format: int64
19931+
type: integer
1991219932
cws_host_top99p:
1991319933
description: Shows the 99th percentile of all Cloud Workload Security hosts
1991419934
over all hours in the current date for all organizations.
@@ -20679,6 +20699,11 @@ components:
2067920699
over all hours in the current date for the given org.
2068020700
format: int64
2068120701
type: integer
20702+
cws_fargate_task_avg:
20703+
description: Shows the average of all distinct Cloud Workload Security Fargate
20704+
tasks over all hours in the current date for the given org.
20705+
format: int64
20706+
type: integer
2068220707
cws_host_top99p:
2068320708
description: Shows the 99th percentile of all Cloud Workload Security hosts
2068420709
over all hours in the current date for the given org.
@@ -21443,11 +21468,16 @@ components:
2144321468
hours in the current month for all organizations.
2144421469
format: int64
2144521470
type: integer
21446-
cws_containers_avg_sum:
21471+
cws_container_avg_sum:
2144721472
description: Shows the average of all distinct Cloud Workload Security containers
2144821473
over all hours in the current month for all organizations.
2144921474
format: int64
2145021475
type: integer
21476+
cws_fargate_task_avg_sum:
21477+
description: Shows the average of all distinct Cloud Workload Security Fargate
21478+
tasks over all hours in the current month for all organizations.
21479+
format: int64
21480+
type: integer
2145121481
cws_host_top99p_sum:
2145221482
description: Shows the 99th percentile of all Cloud Workload Security hosts
2145321483
over all hours in the current month for all organizations.

packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export type HourlyUsageAttributionUsageType =
3232
| typeof CUSTOM_INGESTED_TIMESERIES_USAGE
3333
| typeof CUSTOM_TIMESERIES_USAGE
3434
| typeof CWS_CONTAINERS_USAGE
35+
| typeof CWS_FARGATE_TASK_USAGE
3536
| typeof CWS_HOSTS_USAGE
3637
| typeof DATA_JOBS_MONITORING_USAGE
3738
| typeof DATA_STREAM_MONITORING_USAGE
@@ -107,6 +108,7 @@ export const CUSTOM_INGESTED_TIMESERIES_USAGE =
107108
"custom_ingested_timeseries_usage";
108109
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
109110
export const CWS_CONTAINERS_USAGE = "cws_containers_usage";
111+
export const CWS_FARGATE_TASK_USAGE = "cws_fargate_task_usage";
110112
export const CWS_HOSTS_USAGE = "cws_hosts_usage";
111113
export const DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage";
112114
export const DATA_STREAM_MONITORING_USAGE = "data_stream_monitoring_usage";

packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
4545
| typeof CUSTOM_INGESTED_TIMESERIES_PERCENTAGE
4646
| typeof CWS_CONTAINERS_PERCENTAGE
4747
| typeof CWS_CONTAINERS_USAGE
48+
| typeof CWS_FARGATE_TASK_PERCENTAGE
49+
| typeof CWS_FARGATE_TASK_USAGE
4850
| typeof CWS_HOSTS_PERCENTAGE
4951
| typeof CWS_HOSTS_USAGE
5052
| typeof DATA_JOBS_MONITORING_USAGE
@@ -188,6 +190,8 @@ export const CUSTOM_INGESTED_TIMESERIES_PERCENTAGE =
188190
"custom_ingested_timeseries_percentage";
189191
export const CWS_CONTAINERS_PERCENTAGE = "cws_containers_percentage";
190192
export const CWS_CONTAINERS_USAGE = "cws_containers_usage";
193+
export const CWS_FARGATE_TASK_PERCENTAGE = "cws_fargate_task_percentage";
194+
export const CWS_FARGATE_TASK_USAGE = "cws_fargate_task_usage";
191195
export const CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage";
192196
export const CWS_HOSTS_USAGE = "cws_hosts_usage";
193197
export const DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage";

packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ export class MonthlyUsageAttributionValues {
170170
* The Cloud Workload Security container usage by tag(s).
171171
*/
172172
"cwsContainersUsage"?: number;
173+
/**
174+
* The percentage of Cloud Workload Security Fargate task usage by tag(s).
175+
*/
176+
"cwsFargateTaskPercentage"?: number;
177+
/**
178+
* The Cloud Workload Security Fargate task usage by tag(s).
179+
*/
180+
"cwsFargateTaskUsage"?: number;
173181
/**
174182
* The percentage of Cloud Workload Security host usage by tag(s).
175183
*/
@@ -763,6 +771,16 @@ export class MonthlyUsageAttributionValues {
763771
type: "number",
764772
format: "double",
765773
},
774+
cwsFargateTaskPercentage: {
775+
baseName: "cws_fargate_task_percentage",
776+
type: "number",
777+
format: "double",
778+
},
779+
cwsFargateTaskUsage: {
780+
baseName: "cws_fargate_task_usage",
781+
type: "number",
782+
format: "double",
783+
},
766784
cwsHostsPercentage: {
767785
baseName: "cws_hosts_percentage",
768786
type: "number",

packages/datadog-api-client-v1/models/ObjectSerializer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,7 @@ const enumsMap: { [key: string]: any[] } = {
814814
"custom_ingested_timeseries_usage",
815815
"custom_timeseries_usage",
816816
"cws_containers_usage",
817+
"cws_fargate_task_usage",
817818
"cws_hosts_usage",
818819
"data_jobs_monitoring_usage",
819820
"data_stream_monitoring_usage",
@@ -1027,6 +1028,8 @@ const enumsMap: { [key: string]: any[] } = {
10271028
"custom_ingested_timeseries_percentage",
10281029
"cws_containers_percentage",
10291030
"cws_containers_usage",
1031+
"cws_fargate_task_percentage",
1032+
"cws_fargate_task_usage",
10301033
"cws_hosts_percentage",
10311034
"cws_hosts_usage",
10321035
"data_jobs_monitoring_usage",

packages/datadog-api-client-v1/models/UsageSummaryDate.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ export class UsageSummaryDate {
219219
* Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for all organizations.
220220
*/
221221
"cwsContainerCountAvg"?: number;
222+
/**
223+
* Shows the average of all distinct Cloud Workload Security Fargate tasks over all hours in the current date for all organizations.
224+
*/
225+
"cwsFargateTaskAvg"?: number;
222226
/**
223227
* Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for all organizations.
224228
*/
@@ -844,6 +848,11 @@ export class UsageSummaryDate {
844848
type: "number",
845849
format: "int64",
846850
},
851+
cwsFargateTaskAvg: {
852+
baseName: "cws_fargate_task_avg",
853+
type: "number",
854+
format: "int64",
855+
},
847856
cwsHostTop99p: {
848857
baseName: "cws_host_top99p",
849858
type: "number",

packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ export class UsageSummaryDateOrg {
234234
* Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for the given org.
235235
*/
236236
"cwsContainerCountAvg"?: number;
237+
/**
238+
* Shows the average of all distinct Cloud Workload Security Fargate tasks over all hours in the current date for the given org.
239+
*/
240+
"cwsFargateTaskAvg"?: number;
237241
/**
238242
* Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for the given org.
239243
*/
@@ -885,6 +889,11 @@ export class UsageSummaryDateOrg {
885889
type: "number",
886890
format: "int64",
887891
},
892+
cwsFargateTaskAvg: {
893+
baseName: "cws_fargate_task_avg",
894+
type: "number",
895+
format: "int64",
896+
},
888897
cwsHostTop99p: {
889898
baseName: "cws_host_top99p",
890899
type: "number",

packages/datadog-api-client-v1/models/UsageSummaryResponse.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,11 @@ export class UsageSummaryResponse {
231231
/**
232232
* Shows the average of all distinct Cloud Workload Security containers over all hours in the current month for all organizations.
233233
*/
234-
"cwsContainersAvgSum"?: number;
234+
"cwsContainerAvgSum"?: number;
235+
/**
236+
* Shows the average of all distinct Cloud Workload Security Fargate tasks over all hours in the current month for all organizations.
237+
*/
238+
"cwsFargateTaskAvgSum"?: number;
235239
/**
236240
* Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current month for all organizations.
237241
*/
@@ -899,8 +903,13 @@ export class UsageSummaryResponse {
899903
type: "number",
900904
format: "int64",
901905
},
902-
cwsContainersAvgSum: {
903-
baseName: "cws_containers_avg_sum",
906+
cwsContainerAvgSum: {
907+
baseName: "cws_container_avg_sum",
908+
type: "number",
909+
format: "int64",
910+
},
911+
cwsFargateTaskAvgSum: {
912+
baseName: "cws_fargate_task_avg_sum",
904913
type: "number",
905914
format: "int64",
906915
},

0 commit comments

Comments
 (0)