Skip to content

Commit 494f9e9

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spectherve
authored
Regenerate client from commit 4e5b7510 of spec repo (#824)
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> Co-authored-by: Thomas Hervé <[email protected]>
1 parent f4e0f5c commit 494f9e9

13 files changed

+148
-5
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": "2022-09-13 07:28:13.750530",
8-
"spec_repo_commit": "82fabb35"
7+
"regenerated": "2022-09-14 07:52:45.759185",
8+
"spec_repo_commit": "4e5b7510"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-09-13 07:28:13.767666",
13-
"spec_repo_commit": "82fabb35"
12+
"regenerated": "2022-09-14 07:52:45.775321",
13+
"spec_repo_commit": "4e5b7510"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3627,6 +3627,7 @@ components:
36273627
description: Supported products for hourly usage attribution requests.
36283628
enum:
36293629
- api_usage
3630+
- apm_fargate_usage
36303631
- apm_host_usage
36313632
- appsec_usage
36323633
- browser_usage
@@ -3654,6 +3655,7 @@ components:
36543655
type: string
36553656
x-enum-varnames:
36563657
- API_USAGE
3658+
- APM_FARGATE_USAGE
36573659
- APM_HOST_USAGE
36583660
- APPSEC_USAGE
36593661
- BROWSER_USAGE
@@ -6875,6 +6877,8 @@ components:
68756877
enum:
68766878
- api_usage
68776879
- api_percentage
6880+
- apm_fargate_usage
6881+
- apm_fargate_percentage
68786882
- apm_host_usage
68796883
- apm_host_percentage
68806884
- appsec_usage
@@ -6928,6 +6932,8 @@ components:
69286932
x-enum-varnames:
69296933
- API_USAGE
69306934
- API_PERCENTAGE
6935+
- APM_FARGATE_USAGE
6936+
- APM_FARGATE_PERCENTAGE
69316937
- APM_HOST_USAGE
69326938
- APM_HOST_PERCENTAGE
69336939
- APPSEC_USAGE
@@ -6988,6 +6994,14 @@ components:
69886994
description: The synthetic API test usage by tag(s).
69896995
format: double
69906996
type: number
6997+
apm_fargate_percentage:
6998+
description: The percentage of APM ECS Fargate task usage by tag(s).
6999+
format: double
7000+
type: number
7001+
apm_fargate_usage:
7002+
description: The APM ECS Fargate task usage by tag(s).
7003+
format: double
7004+
type: number
69917005
apm_host_percentage:
69927006
description: The percentage of APM host usage by tag(s).
69937007
format: double
@@ -14000,6 +14014,8 @@ components:
1400014014
- estimated_indexed_spans_percentage
1400114015
- estimated_ingested_spans_usage
1400214016
- estimated_ingested_spans_percentage
14017+
- apm_fargate_usage
14018+
- apm_fargate_percentage
1400314019
type: string
1400414020
x-enum-varnames:
1400514021
- API_PERCENTAGE
@@ -14032,6 +14048,8 @@ components:
1403214048
- ESTIMATED_INDEXED_SPANS_PERCENTAGE
1403314049
- ESTIMATED_INGESTED_SPANS_USAGE
1403414050
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
14051+
- APM_FARGATE_USAGE
14052+
- APM_FARGATE_PERCENTAGE
1403514053
UsageAttributionSupportedMetrics:
1403614054
description: Supported fields for usage attribution requests (valid requests
1403714055
contain one or more metrics, or `*` for all).
@@ -14076,6 +14094,8 @@ components:
1407614094
- estimated_indexed_spans_percentage
1407714095
- estimated_ingested_spans_usage
1407814096
- estimated_ingested_spans_percentage
14097+
- apm_fargate_usage
14098+
- apm_fargate_percentage
1407914099
- '*'
1408014100
type: string
1408114101
x-enum-varnames:
@@ -14119,6 +14139,8 @@ components:
1411914139
- ESTIMATED_INDEXED_SPANS_PERCENTAGE
1412014140
- ESTIMATED_INGESTED_SPANS_USAGE
1412114141
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
14142+
- APM_FARGATE_USAGE
14143+
- APM_FARGATE_PERCENTAGE
1412214144
- ALL
1412314145
UsageAttributionTagNames:
1412414146
additionalProperties:
@@ -14159,6 +14181,14 @@ components:
1415914181
description: The synthetic API test usage by tag(s).
1416014182
format: double
1416114183
type: number
14184+
apm_fargate_percentage:
14185+
description: The percentage of APM ECS Fargate task usage by tag(s).
14186+
format: double
14187+
type: number
14188+
apm_fargate_usage:
14189+
description: The APM ECS Fargate task usage by tag(s).
14190+
format: double
14191+
type: number
1416214192
apm_host_percentage:
1416314193
description: The percentage of APM host usage by tag(s).
1416414194
format: double
@@ -14843,6 +14873,11 @@ components:
1484314873
UsageFargateHour:
1484414874
description: Number of Fargate tasks run and hourly usage.
1484514875
properties:
14876+
apm_fargate_count:
14877+
description: The high-water mark of APM ECS Fargate tasks during the given
14878+
hour.
14879+
format: int64
14880+
type: integer
1484614881
avg_profiled_fargate_tasks:
1484714882
description: The average profiled task count for Fargate Profiling.
1484814883
format: int64
@@ -15645,6 +15680,11 @@ components:
1564515680
over all hours in the current date all organizations.
1564615681
format: int64
1564715682
type: integer
15683+
apm_fargate_count_avg:
15684+
description: Shows the average of all APM ECS Fargate tasks over all hours
15685+
in the current date for all organizations.
15686+
format: int64
15687+
type: integer
1564815688
apm_host_top99p:
1564915689
description: Shows the 99th percentile of all distinct APM hosts over all
1565015690
hours in the current date for all organizations.
@@ -15975,6 +16015,11 @@ components:
1597516015
over all hours in the current date for the given org.
1597616016
format: int64
1597716017
type: integer
16018+
apm_fargate_count_avg:
16019+
description: Shows the average of all APM ECS Fargate tasks over all hours
16020+
in the current months for the given org.
16021+
format: int64
16022+
type: integer
1597816023
apm_host_top99p:
1597916024
description: Shows the 99th percentile of all distinct APM hosts over all
1598016025
hours in the current date for the given org.
@@ -16308,6 +16353,11 @@ components:
1630816353
over all hours in the current months all organizations.
1630916354
format: int64
1631016355
type: integer
16356+
apm_fargate_count_avg_sum:
16357+
description: Shows the average of all APM ECS Fargate tasks over all hours
16358+
in the current months for all organizations.
16359+
format: int64
16360+
type: integer
1631116361
apm_host_top99p_sum:
1631216362
description: Shows the 99th percentile of all distinct APM hosts over all
1631316363
hours in the current months 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
@@ -6,6 +6,7 @@
66

77
export type HourlyUsageAttributionUsageType =
88
| typeof API_USAGE
9+
| typeof APM_FARGATE_USAGE
910
| typeof APM_HOST_USAGE
1011
| typeof APPSEC_USAGE
1112
| typeof BROWSER_USAGE
@@ -31,6 +32,7 @@ export type HourlyUsageAttributionUsageType =
3132
| typeof PROFILED_HOST_USAGE
3233
| typeof SNMP_USAGE;
3334
export const API_USAGE = "api_usage";
35+
export const APM_FARGATE_USAGE = "apm_fargate_usage";
3436
export const APM_HOST_USAGE = "apm_host_usage";
3537
export const APPSEC_USAGE = "appsec_usage";
3638
export const BROWSER_USAGE = "browser_usage";

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
export type MonthlyUsageAttributionSupportedMetrics =
88
| typeof API_USAGE
99
| typeof API_PERCENTAGE
10+
| typeof APM_FARGATE_USAGE
11+
| typeof APM_FARGATE_PERCENTAGE
1012
| typeof APM_HOST_USAGE
1113
| typeof APM_HOST_PERCENTAGE
1214
| typeof APPSEC_USAGE
@@ -58,6 +60,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
5860
| typeof ALL;
5961
export const API_USAGE = "api_usage";
6062
export const API_PERCENTAGE = "api_percentage";
63+
export const APM_FARGATE_USAGE = "apm_fargate_usage";
64+
export const APM_FARGATE_PERCENTAGE = "apm_fargate_percentage";
6165
export const APM_HOST_USAGE = "apm_host_usage";
6266
export const APM_HOST_PERCENTAGE = "apm_host_percentage";
6367
export const APPSEC_USAGE = "appsec_usage";

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ export class MonthlyUsageAttributionValues {
1818
* The synthetic API test usage by tag(s).
1919
*/
2020
"apiUsage"?: number;
21+
/**
22+
* The percentage of APM ECS Fargate task usage by tag(s).
23+
*/
24+
"apmFargatePercentage"?: number;
25+
/**
26+
* The APM ECS Fargate task usage by tag(s).
27+
*/
28+
"apmFargateUsage"?: number;
2129
/**
2230
* The percentage of APM host usage by tag(s).
2331
*/
@@ -182,6 +190,16 @@ export class MonthlyUsageAttributionValues {
182190
type: "number",
183191
format: "double",
184192
},
193+
apmFargatePercentage: {
194+
baseName: "apm_fargate_percentage",
195+
type: "number",
196+
format: "double",
197+
},
198+
apmFargateUsage: {
199+
baseName: "apm_fargate_usage",
200+
type: "number",
201+
format: "double",
202+
},
185203
apmHostPercentage: {
186204
baseName: "apm_host_percentage",
187205
type: "number",

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ const enumsMap: { [key: string]: any[] } = {
664664
HostMapWidgetDefinitionType: ["hostmap"],
665665
HourlyUsageAttributionUsageType: [
666666
"api_usage",
667+
"apm_fargate_usage",
667668
"apm_host_usage",
668669
"appsec_usage",
669670
"browser_usage",
@@ -781,6 +782,8 @@ const enumsMap: { [key: string]: any[] } = {
781782
MonthlyUsageAttributionSupportedMetrics: [
782783
"api_usage",
783784
"api_percentage",
785+
"apm_fargate_usage",
786+
"apm_fargate_percentage",
784787
"apm_host_usage",
785788
"apm_host_percentage",
786789
"appsec_usage",
@@ -1130,6 +1133,8 @@ const enumsMap: { [key: string]: any[] } = {
11301133
"estimated_indexed_spans_percentage",
11311134
"estimated_ingested_spans_usage",
11321135
"estimated_ingested_spans_percentage",
1136+
"apm_fargate_usage",
1137+
"apm_fargate_percentage",
11331138
],
11341139
UsageAttributionSupportedMetrics: [
11351140
"custom_timeseries_usage",
@@ -1172,6 +1177,8 @@ const enumsMap: { [key: string]: any[] } = {
11721177
"estimated_indexed_spans_percentage",
11731178
"estimated_ingested_spans_usage",
11741179
"estimated_ingested_spans_percentage",
1180+
"apm_fargate_usage",
1181+
"apm_fargate_percentage",
11751182
"*",
11761183
],
11771184
UsageMetricCategory: ["standard", "custom"],

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export type UsageAttributionSort =
3434
| typeof ESTIMATED_INDEXED_SPANS_USAGE
3535
| typeof ESTIMATED_INDEXED_SPANS_PERCENTAGE
3636
| typeof ESTIMATED_INGESTED_SPANS_USAGE
37-
| typeof ESTIMATED_INGESTED_SPANS_PERCENTAGE;
37+
| typeof ESTIMATED_INGESTED_SPANS_PERCENTAGE
38+
| typeof APM_FARGATE_USAGE
39+
| typeof APM_FARGATE_PERCENTAGE;
3840
export const API_PERCENTAGE = "api_percentage";
3941
export const SNMP_USAGE = "snmp_usage";
4042
export const APM_HOST_USAGE = "apm_host_usage";
@@ -69,3 +71,5 @@ export const ESTIMATED_INDEXED_SPANS_PERCENTAGE =
6971
export const ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage";
7072
export const ESTIMATED_INGESTED_SPANS_PERCENTAGE =
7173
"estimated_ingested_spans_percentage";
74+
export const APM_FARGATE_USAGE = "apm_fargate_usage";
75+
export const APM_FARGATE_PERCENTAGE = "apm_fargate_percentage";

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export type UsageAttributionSupportedMetrics =
4545
| typeof ESTIMATED_INDEXED_SPANS_PERCENTAGE
4646
| typeof ESTIMATED_INGESTED_SPANS_USAGE
4747
| typeof ESTIMATED_INGESTED_SPANS_PERCENTAGE
48+
| typeof APM_FARGATE_USAGE
49+
| typeof APM_FARGATE_PERCENTAGE
4850
| typeof ALL;
4951
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
5052
export const CONTAINER_USAGE = "container_usage";
@@ -90,4 +92,6 @@ export const ESTIMATED_INDEXED_SPANS_PERCENTAGE =
9092
export const ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage";
9193
export const ESTIMATED_INGESTED_SPANS_PERCENTAGE =
9294
"estimated_ingested_spans_percentage";
95+
export const APM_FARGATE_USAGE = "apm_fargate_usage";
96+
export const APM_FARGATE_PERCENTAGE = "apm_fargate_percentage";
9397
export const ALL = "*";

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ export class UsageAttributionValues {
1818
* The synthetic API test usage by tag(s).
1919
*/
2020
"apiUsage"?: number;
21+
/**
22+
* The percentage of APM ECS Fargate task usage by tag(s).
23+
*/
24+
"apmFargatePercentage"?: number;
25+
/**
26+
* The APM ECS Fargate task usage by tag(s).
27+
*/
28+
"apmFargateUsage"?: number;
2129
/**
2230
* The percentage of APM host usage by tag(s).
2331
*/
@@ -214,6 +222,16 @@ export class UsageAttributionValues {
214222
type: "number",
215223
format: "double",
216224
},
225+
apmFargatePercentage: {
226+
baseName: "apm_fargate_percentage",
227+
type: "number",
228+
format: "double",
229+
},
230+
apmFargateUsage: {
231+
baseName: "apm_fargate_usage",
232+
type: "number",
233+
format: "double",
234+
},
217235
apmHostPercentage: {
218236
baseName: "apm_host_percentage",
219237
type: "number",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Number of Fargate tasks run and hourly usage.
1111
*/
1212
export class UsageFargateHour {
13+
/**
14+
* The high-water mark of APM ECS Fargate tasks during the given hour.
15+
*/
16+
"apmFargateCount"?: number;
1317
/**
1418
* The average profiled task count for Fargate Profiling.
1519
*/
@@ -40,6 +44,11 @@ export class UsageFargateHour {
4044
* @ignore
4145
*/
4246
static readonly attributeTypeMap: AttributeTypeMap = {
47+
apmFargateCount: {
48+
baseName: "apm_fargate_count",
49+
type: "number",
50+
format: "int64",
51+
},
4352
avgProfiledFargateTasks: {
4453
baseName: "avg_profiled_fargate_tasks",
4554
type: "number",

0 commit comments

Comments
 (0)