Skip to content

Commit 8f4e64a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add usage metering fields for AWS and Azure cloud cost management (#1191)
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 addf230 commit 8f4e64a

File tree

5 files changed

+97
-12
lines changed

5 files changed

+97
-12
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-06-13 15:21:16.574126",
8-
"spec_repo_commit": "a19e81fb"
7+
"regenerated": "2023-06-13 18:15:12.171262",
8+
"spec_repo_commit": "28c27b69"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-06-13 15:21:16.591506",
13-
"spec_repo_commit": "a19e81fb"
12+
"regenerated": "2023-06-13 18:15:12.187833",
13+
"spec_repo_commit": "28c27b69"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17488,9 +17488,19 @@ components:
1748817488
over all hours in the current month for all organizations.
1748917489
format: int64
1749017490
type: integer
17491+
cloud_cost_management_aws_host_count_avg:
17492+
description: Host count average of Cloud Cost Management for AWS for the
17493+
given date and given organization.
17494+
format: int64
17495+
type: integer
17496+
cloud_cost_management_azure_host_count_avg:
17497+
description: Host count average of Cloud Cost Management for Azure for the
17498+
given date and given organization.
17499+
format: int64
17500+
type: integer
1749117501
cloud_cost_management_host_count_avg:
17492-
description: Host count average of Cloud Cost Management for the given date
17493-
and given organization.
17502+
description: Host count average of Cloud Cost Management for all cloud providers
17503+
for the given date and given organization.
1749417504
format: int64
1749517505
type: integer
1749617506
container_avg:
@@ -17900,9 +17910,19 @@ components:
1790017910
over all hours in the current date for the given org.
1790117911
format: int64
1790217912
type: integer
17913+
cloud_cost_management_aws_host_count_avg:
17914+
description: Host count average of Cloud Cost Management for AWS for the
17915+
given date and given org.
17916+
format: int64
17917+
type: integer
17918+
cloud_cost_management_azure_host_count_avg:
17919+
description: Host count average of Cloud Cost Management for Azure for the
17920+
given date and given org.
17921+
format: int64
17922+
type: integer
1790317923
cloud_cost_management_host_count_avg:
17904-
description: Host count average of Cloud Cost Management for the given date
17905-
and given org.
17924+
description: Host count average of Cloud Cost Management for all cloud providers
17925+
for the given date and given org.
1790617926
format: int64
1790717927
type: integer
1790817928
container_avg:
@@ -18321,8 +18341,19 @@ components:
1832118341
over all hours in the current months for all organizations.
1832218342
format: int64
1832318343
type: integer
18344+
cloud_cost_management_aws_host_count_avg_sum:
18345+
description: Sum of the host count average for Cloud Cost Management for
18346+
AWS.
18347+
format: int64
18348+
type: integer
18349+
cloud_cost_management_azure_host_count_avg_sum:
18350+
description: Sum of the host count average for Cloud Cost Management for
18351+
Azure.
18352+
format: int64
18353+
type: integer
1832418354
cloud_cost_management_host_count_avg_sum:
18325-
description: Sum of the host count average for Cloud Cost Management.
18355+
description: Sum of the host count average for Cloud Cost Management for
18356+
all cloud providers.
1832618357
format: int64
1832718358
type: integer
1832818359
container_avg_sum:

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,15 @@ export class UsageSummaryDate {
9292
*/
9393
"ciVisibilityTestCommittersHwm"?: number;
9494
/**
95-
* Host count average of Cloud Cost Management for the given date and given organization.
95+
* Host count average of Cloud Cost Management for AWS for the given date and given organization.
96+
*/
97+
"cloudCostManagementAwsHostCountAvg"?: number;
98+
/**
99+
* Host count average of Cloud Cost Management for Azure for the given date and given organization.
100+
*/
101+
"cloudCostManagementAzureHostCountAvg"?: number;
102+
/**
103+
* Host count average of Cloud Cost Management for all cloud providers for the given date and given organization.
96104
*/
97105
"cloudCostManagementHostCountAvg"?: number;
98106
/**
@@ -445,6 +453,16 @@ export class UsageSummaryDate {
445453
type: "number",
446454
format: "int64",
447455
},
456+
cloudCostManagementAwsHostCountAvg: {
457+
baseName: "cloud_cost_management_aws_host_count_avg",
458+
type: "number",
459+
format: "int64",
460+
},
461+
cloudCostManagementAzureHostCountAvg: {
462+
baseName: "cloud_cost_management_azure_host_count_avg",
463+
type: "number",
464+
format: "int64",
465+
},
448466
cloudCostManagementHostCountAvg: {
449467
baseName: "cloud_cost_management_host_count_avg",
450468
type: "number",

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,15 @@ export class UsageSummaryDateOrg {
9191
*/
9292
"ciVisibilityTestCommittersHwm"?: number;
9393
/**
94-
* Host count average of Cloud Cost Management for the given date and given org.
94+
* Host count average of Cloud Cost Management for AWS for the given date and given org.
95+
*/
96+
"cloudCostManagementAwsHostCountAvg"?: number;
97+
/**
98+
* Host count average of Cloud Cost Management for Azure for the given date and given org.
99+
*/
100+
"cloudCostManagementAzureHostCountAvg"?: number;
101+
/**
102+
* Host count average of Cloud Cost Management for all cloud providers for the given date and given org.
95103
*/
96104
"cloudCostManagementHostCountAvg"?: number;
97105
/**
@@ -452,6 +460,16 @@ export class UsageSummaryDateOrg {
452460
type: "number",
453461
format: "int64",
454462
},
463+
cloudCostManagementAwsHostCountAvg: {
464+
baseName: "cloud_cost_management_aws_host_count_avg",
465+
type: "number",
466+
format: "int64",
467+
},
468+
cloudCostManagementAzureHostCountAvg: {
469+
baseName: "cloud_cost_management_azure_host_count_avg",
470+
type: "number",
471+
format: "int64",
472+
},
455473
cloudCostManagementHostCountAvg: {
456474
baseName: "cloud_cost_management_host_count_avg",
457475
type: "number",

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,15 @@ export class UsageSummaryResponse {
9797
*/
9898
"ciVisibilityTestCommittersHwmSum"?: number;
9999
/**
100-
* Sum of the host count average for Cloud Cost Management.
100+
* Sum of the host count average for Cloud Cost Management for AWS.
101+
*/
102+
"cloudCostManagementAwsHostCountAvgSum"?: number;
103+
/**
104+
* Sum of the host count average for Cloud Cost Management for Azure.
105+
*/
106+
"cloudCostManagementAzureHostCountAvgSum"?: number;
107+
/**
108+
* Sum of the host count average for Cloud Cost Management for all cloud providers.
101109
*/
102110
"cloudCostManagementHostCountAvgSum"?: number;
103111
/**
@@ -487,6 +495,16 @@ export class UsageSummaryResponse {
487495
type: "number",
488496
format: "int64",
489497
},
498+
cloudCostManagementAwsHostCountAvgSum: {
499+
baseName: "cloud_cost_management_aws_host_count_avg_sum",
500+
type: "number",
501+
format: "int64",
502+
},
503+
cloudCostManagementAzureHostCountAvgSum: {
504+
baseName: "cloud_cost_management_azure_host_count_avg_sum",
505+
type: "number",
506+
format: "int64",
507+
},
490508
cloudCostManagementHostCountAvgSum: {
491509
baseName: "cloud_cost_management_host_count_avg_sum",
492510
type: "number",

0 commit comments

Comments
 (0)