Skip to content

Commit

Permalink
Add new keys for CWS Fargate Task in summary usage and usage attribut…
Browse files Browse the repository at this point in the history
…ion endpoints (#1901)

* Regenerate client from commit ae3b5463 of spec repo

* pre-commit fixes

---------

Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 8, 2024
1 parent 7f16719 commit 57c0121
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-08 14:25:32.181667",
"spec_repo_commit": "d907813e"
"regenerated": "2024-11-08 19:36:35.931793",
"spec_repo_commit": "ae3b5463"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-08 14:25:32.200333",
"spec_repo_commit": "d907813e"
"regenerated": "2024-11-08 19:36:35.950628",
"spec_repo_commit": "ae3b5463"
}
}
}
32 changes: 31 additions & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4187,6 +4187,7 @@ components:
- custom_ingested_timeseries_usage
- custom_timeseries_usage
- cws_containers_usage
- cws_fargate_task_usage
- cws_hosts_usage
- data_jobs_monitoring_usage
- data_stream_monitoring_usage
Expand Down Expand Up @@ -4259,6 +4260,7 @@ components:
- CUSTOM_INGESTED_TIMESERIES_USAGE
- CUSTOM_TIMESERIES_USAGE
- CWS_CONTAINERS_USAGE
- CWS_FARGATE_TASK_USAGE
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
- DATA_STREAM_MONITORING_USAGE
Expand Down Expand Up @@ -7939,6 +7941,8 @@ components:
- custom_ingested_timeseries_percentage
- cws_containers_percentage
- cws_containers_usage
- cws_fargate_task_percentage
- cws_fargate_task_usage
- cws_hosts_percentage
- cws_hosts_usage
- data_jobs_monitoring_usage
Expand Down Expand Up @@ -8078,6 +8082,8 @@ components:
- CUSTOM_INGESTED_TIMESERIES_PERCENTAGE
- CWS_CONTAINERS_PERCENTAGE
- CWS_CONTAINERS_USAGE
- CWS_FARGATE_TASK_PERCENTAGE
- CWS_FARGATE_TASK_USAGE
- CWS_HOSTS_PERCENTAGE
- CWS_HOSTS_USAGE
- DATA_JOBS_MONITORING_USAGE
Expand Down Expand Up @@ -8357,6 +8363,15 @@ components:
description: The Cloud Workload Security container usage by tag(s).
format: double
type: number
cws_fargate_task_percentage:
description: The percentage of Cloud Workload Security Fargate task usage
by tag(s).
format: double
type: number
cws_fargate_task_usage:
description: The Cloud Workload Security Fargate task usage by tag(s).
format: double
type: number
cws_hosts_percentage:
description: The percentage of Cloud Workload Security host usage by tag(s).
format: double
Expand Down Expand Up @@ -19909,6 +19924,11 @@ components:
over all hours in the current date for all organizations.
format: int64
type: integer
cws_fargate_task_avg:
description: Shows the average of all distinct Cloud Workload Security Fargate
tasks over all hours in the current date for all organizations.
format: int64
type: integer
cws_host_top99p:
description: Shows the 99th percentile of all Cloud Workload Security hosts
over all hours in the current date for all organizations.
Expand Down Expand Up @@ -20679,6 +20699,11 @@ components:
over all hours in the current date for the given org.
format: int64
type: integer
cws_fargate_task_avg:
description: Shows the average of all distinct Cloud Workload Security Fargate
tasks over all hours in the current date for the given org.
format: int64
type: integer
cws_host_top99p:
description: Shows the 99th percentile of all Cloud Workload Security hosts
over all hours in the current date for the given org.
Expand Down Expand Up @@ -21443,11 +21468,16 @@ components:
hours in the current month for all organizations.
format: int64
type: integer
cws_containers_avg_sum:
cws_container_avg_sum:
description: Shows the average of all distinct Cloud Workload Security containers
over all hours in the current month for all organizations.
format: int64
type: integer
cws_fargate_task_avg_sum:
description: Shows the average of all distinct Cloud Workload Security Fargate
tasks over all hours in the current month for all organizations.
format: int64
type: integer
cws_host_top99p_sum:
description: Shows the 99th percentile of all Cloud Workload Security hosts
over all hours in the current month for all organizations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export type HourlyUsageAttributionUsageType =
| typeof CUSTOM_INGESTED_TIMESERIES_USAGE
| typeof CUSTOM_TIMESERIES_USAGE
| typeof CWS_CONTAINERS_USAGE
| typeof CWS_FARGATE_TASK_USAGE
| typeof CWS_HOSTS_USAGE
| typeof DATA_JOBS_MONITORING_USAGE
| typeof DATA_STREAM_MONITORING_USAGE
Expand Down Expand Up @@ -107,6 +108,7 @@ export const CUSTOM_INGESTED_TIMESERIES_USAGE =
"custom_ingested_timeseries_usage";
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
export const CWS_CONTAINERS_USAGE = "cws_containers_usage";
export const CWS_FARGATE_TASK_USAGE = "cws_fargate_task_usage";
export const CWS_HOSTS_USAGE = "cws_hosts_usage";
export const DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage";
export const DATA_STREAM_MONITORING_USAGE = "data_stream_monitoring_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof CUSTOM_INGESTED_TIMESERIES_PERCENTAGE
| typeof CWS_CONTAINERS_PERCENTAGE
| typeof CWS_CONTAINERS_USAGE
| typeof CWS_FARGATE_TASK_PERCENTAGE
| typeof CWS_FARGATE_TASK_USAGE
| typeof CWS_HOSTS_PERCENTAGE
| typeof CWS_HOSTS_USAGE
| typeof DATA_JOBS_MONITORING_USAGE
Expand Down Expand Up @@ -188,6 +190,8 @@ export const CUSTOM_INGESTED_TIMESERIES_PERCENTAGE =
"custom_ingested_timeseries_percentage";
export const CWS_CONTAINERS_PERCENTAGE = "cws_containers_percentage";
export const CWS_CONTAINERS_USAGE = "cws_containers_usage";
export const CWS_FARGATE_TASK_PERCENTAGE = "cws_fargate_task_percentage";
export const CWS_FARGATE_TASK_USAGE = "cws_fargate_task_usage";
export const CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage";
export const CWS_HOSTS_USAGE = "cws_hosts_usage";
export const DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ export class MonthlyUsageAttributionValues {
* The Cloud Workload Security container usage by tag(s).
*/
"cwsContainersUsage"?: number;
/**
* The percentage of Cloud Workload Security Fargate task usage by tag(s).
*/
"cwsFargateTaskPercentage"?: number;
/**
* The Cloud Workload Security Fargate task usage by tag(s).
*/
"cwsFargateTaskUsage"?: number;
/**
* The percentage of Cloud Workload Security host usage by tag(s).
*/
Expand Down Expand Up @@ -763,6 +771,16 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
cwsFargateTaskPercentage: {
baseName: "cws_fargate_task_percentage",
type: "number",
format: "double",
},
cwsFargateTaskUsage: {
baseName: "cws_fargate_task_usage",
type: "number",
format: "double",
},
cwsHostsPercentage: {
baseName: "cws_hosts_percentage",
type: "number",
Expand Down
3 changes: 3 additions & 0 deletions packages/datadog-api-client-v1/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,7 @@ const enumsMap: { [key: string]: any[] } = {
"custom_ingested_timeseries_usage",
"custom_timeseries_usage",
"cws_containers_usage",
"cws_fargate_task_usage",
"cws_hosts_usage",
"data_jobs_monitoring_usage",
"data_stream_monitoring_usage",
Expand Down Expand Up @@ -1027,6 +1028,8 @@ const enumsMap: { [key: string]: any[] } = {
"custom_ingested_timeseries_percentage",
"cws_containers_percentage",
"cws_containers_usage",
"cws_fargate_task_percentage",
"cws_fargate_task_usage",
"cws_hosts_percentage",
"cws_hosts_usage",
"data_jobs_monitoring_usage",
Expand Down
9 changes: 9 additions & 0 deletions packages/datadog-api-client-v1/models/UsageSummaryDate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ export class UsageSummaryDate {
* Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for all organizations.
*/
"cwsContainerCountAvg"?: number;
/**
* Shows the average of all distinct Cloud Workload Security Fargate tasks over all hours in the current date for all organizations.
*/
"cwsFargateTaskAvg"?: number;
/**
* Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for all organizations.
*/
Expand Down Expand Up @@ -844,6 +848,11 @@ export class UsageSummaryDate {
type: "number",
format: "int64",
},
cwsFargateTaskAvg: {
baseName: "cws_fargate_task_avg",
type: "number",
format: "int64",
},
cwsHostTop99p: {
baseName: "cws_host_top99p",
type: "number",
Expand Down
9 changes: 9 additions & 0 deletions packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ export class UsageSummaryDateOrg {
* Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for the given org.
*/
"cwsContainerCountAvg"?: number;
/**
* Shows the average of all distinct Cloud Workload Security Fargate tasks over all hours in the current date for the given org.
*/
"cwsFargateTaskAvg"?: number;
/**
* Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for the given org.
*/
Expand Down Expand Up @@ -885,6 +889,11 @@ export class UsageSummaryDateOrg {
type: "number",
format: "int64",
},
cwsFargateTaskAvg: {
baseName: "cws_fargate_task_avg",
type: "number",
format: "int64",
},
cwsHostTop99p: {
baseName: "cws_host_top99p",
type: "number",
Expand Down
15 changes: 12 additions & 3 deletions packages/datadog-api-client-v1/models/UsageSummaryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,11 @@ export class UsageSummaryResponse {
/**
* Shows the average of all distinct Cloud Workload Security containers over all hours in the current month for all organizations.
*/
"cwsContainersAvgSum"?: number;
"cwsContainerAvgSum"?: number;
/**
* Shows the average of all distinct Cloud Workload Security Fargate tasks over all hours in the current month for all organizations.
*/
"cwsFargateTaskAvgSum"?: number;
/**
* Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current month for all organizations.
*/
Expand Down Expand Up @@ -899,8 +903,13 @@ export class UsageSummaryResponse {
type: "number",
format: "int64",
},
cwsContainersAvgSum: {
baseName: "cws_containers_avg_sum",
cwsContainerAvgSum: {
baseName: "cws_container_avg_sum",
type: "number",
format: "int64",
},
cwsFargateTaskAvgSum: {
baseName: "cws_fargate_task_avg_sum",
type: "number",
format: "int64",
},
Expand Down

0 comments on commit 57c0121

Please sign in to comment.