Skip to content

Commit f91408c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add Cloud Cost Management fields to Usage Metering endpoints (#1019)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 64481bd commit f91408c

File tree

6 files changed

+34
-7
lines changed

6 files changed

+34
-7
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.4",
7-
"regenerated": "2023-02-10 19:47:52.268737",
8-
"spec_repo_commit": "b3e2c8a4"
7+
"regenerated": "2023-02-10 22:02:01.735035",
8+
"spec_repo_commit": "3916cc96"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-02-10 19:47:52.281619",
13-
"spec_repo_commit": "b3e2c8a4"
12+
"regenerated": "2023-02-10 22:02:01.746694",
13+
"spec_repo_commit": "3916cc96"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17054,6 +17054,11 @@ components:
1705417054
over all hours in the current date for the given org.
1705517055
format: int64
1705617056
type: integer
17057+
cloud_cost_management_host_count_avg:
17058+
description: Host count average of Cloud Cost Management for the given date
17059+
and given org.
17060+
format: int64
17061+
type: integer
1705717062
container_avg:
1705817063
description: Shows the average of all distinct containers over all hours
1705917064
in the current date for the given org.
@@ -17434,6 +17439,10 @@ components:
1743417439
over all hours in the current months for all organizations.
1743517440
format: int64
1743617441
type: integer
17442+
cloud_cost_management_host_count_avg_sum:
17443+
description: Sum of the host count average for Cloud Cost Management.
17444+
format: int64
17445+
type: integer
1743717446
container_avg_sum:
1743817447
description: Shows the average of all distinct containers over all hours
1743917448
in the current months for all organizations.

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20037,8 +20037,8 @@ paths:
2003720037
- description: 'Comma separated list of product families to retrieve. Available
2003820038
families are `all`, `analyzed_logs`,
2003920039

20040-
`application_security`, `audit_logs`, `serverless`, `ci_app`, `cspm`, `custom_events`,
20041-
`cws`, `dbm`, `fargate`,
20040+
`application_security`, `audit_logs`, `serverless`, `ci_app`, `cloud_cost_management`,
20041+
`cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
2004220042

2004320043
`infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
2004420044
`iot`,

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ export class UsageSummaryDateOrg {
8686
* Shows the high-water mark of all CI visibility test committers over all hours in the current date for the given org.
8787
*/
8888
"ciVisibilityTestCommittersHwm"?: number;
89+
/**
90+
* Host count average of Cloud Cost Management for the given date and given org.
91+
*/
92+
"cloudCostManagementHostCountAvg"?: number;
8993
/**
9094
* Shows the average of all distinct containers over all hours in the current date for the given org.
9195
*/
@@ -415,6 +419,11 @@ export class UsageSummaryDateOrg {
415419
type: "number",
416420
format: "int64",
417421
},
422+
cloudCostManagementHostCountAvg: {
423+
baseName: "cloud_cost_management_host_count_avg",
424+
type: "number",
425+
format: "int64",
426+
},
418427
containerAvg: {
419428
baseName: "container_avg",
420429
type: "number",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ export class UsageSummaryResponse {
9292
* Shows the high-water mark of all CI visibility test committers over all hours in the current months for all organizations.
9393
*/
9494
"ciVisibilityTestCommittersHwmSum"?: number;
95+
/**
96+
* Sum of the host count average for Cloud Cost Management.
97+
*/
98+
"cloudCostManagementHostCountAvgSum"?: number;
9599
/**
96100
* Shows the average of all distinct containers over all hours in the current months for all organizations.
97101
*/
@@ -450,6 +454,11 @@ export class UsageSummaryResponse {
450454
type: "number",
451455
format: "int64",
452456
},
457+
cloudCostManagementHostCountAvgSum: {
458+
baseName: "cloud_cost_management_host_count_avg_sum",
459+
type: "number",
460+
format: "int64",
461+
},
453462
containerAvgSum: {
454463
baseName: "container_avg_sum",
455464
type: "number",

packages/datadog-api-client-v2/apis/UsageMeteringApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ export interface UsageMeteringApiGetHourlyUsageRequest {
951951
filterTimestampStart: Date;
952952
/**
953953
* Comma separated list of product families to retrieve. Available families are `all`, `analyzed_logs`,
954-
* `application_security`, `audit_logs`, `serverless`, `ci_app`, `cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
954+
* `application_security`, `audit_logs`, `serverless`, `ci_app`, `cloud_cost_management`, `cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
955955
* `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`,
956956
* `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `observability_pipelines`,
957957
* `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`,

0 commit comments

Comments
 (0)