Skip to content

Commit 1d43d9c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
add ASM serverless to usage metering API docs (#1529)
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 d23e5e9 commit 1d43d9c

File tree

8 files changed

+70
-4
lines changed

8 files changed

+70
-4
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-02-21 20:20:08.840041",
8-
"spec_repo_commit": "90ae1ed9"
7+
"regenerated": "2024-02-21 21:43:34.211905",
8+
"spec_repo_commit": "ea7f4c9f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-21 20:20:08.854932",
13-
"spec_repo_commit": "90ae1ed9"
12+
"regenerated": "2024-02-21 21:43:34.235823",
13+
"spec_repo_commit": "ea7f4c9f"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16870,6 +16870,8 @@ components:
1687016870
- appsec_fargate_percentage
1687116871
- estimated_rum_usage_attribution_usage
1687216872
- estimated_rum_usage_attribution_percentage
16873+
- asm_serverless_traced_invocations_usage
16874+
- asm_serverless_traced_invocations_percentage
1687316875
type: string
1687416876
x-enum-varnames:
1687516877
- API_PERCENTAGE
@@ -16908,6 +16910,8 @@ components:
1690816910
- APPSEC_FARGATE_PERCENTAGE
1690916911
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
1691016912
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
16913+
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
16914+
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
1691116915
UsageAttributionSupportedMetrics:
1691216916
description: Supported fields for usage attribution requests (valid requests
1691316917
contain one or more metrics, or `*` for all).
@@ -16958,6 +16962,8 @@ components:
1695816962
- appsec_fargate_percentage
1695916963
- estimated_rum_usage_attribution_usage
1696016964
- estimated_rum_usage_attribution_percentage
16965+
- asm_serverless_traced_invocations_usage
16966+
- asm_serverless_traced_invocations_percentage
1696116967
- '*'
1696216968
type: string
1696316969
x-enum-varnames:
@@ -17007,6 +17013,8 @@ components:
1700717013
- APPSEC_FARGATE_PERCENTAGE
1700817014
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
1700917015
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
17016+
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
17017+
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
1701017018
- ALL
1701117019
UsageAttributionTagNames:
1701217020
additionalProperties:
@@ -18717,6 +18725,11 @@ components:
1871718725
Fargate tasks over all hours in the current date for all organizations.
1871818726
format: int64
1871918727
type: integer
18728+
asm_serverless_sum:
18729+
description: Shows the sum of all Application Security Monitoring Serverless
18730+
invocations over all hours in the current date for all organizations.
18731+
format: int64
18732+
type: integer
1872018733
audit_logs_lines_indexed_sum:
1872118734
deprecated: true
1872218735
description: Shows the sum of audit logs lines indexed over all hours in
@@ -19247,6 +19260,11 @@ components:
1924719260
Fargate tasks over all hours in the current months for the given org.
1924819261
format: int64
1924919262
type: integer
19263+
asm_serverless_sum:
19264+
description: Shows the sum of all Application Security Monitoring Serverless
19265+
invocations over all hours in the current month for the given org.
19266+
format: int64
19267+
type: integer
1925019268
audit_logs_lines_indexed_sum:
1925119269
deprecated: true
1925219270
description: Shows the sum of all audit logs lines indexed over all hours
@@ -19790,6 +19808,11 @@ components:
1979019808
Fargate tasks over all hours in the current months for all organizations.
1979119809
format: int64
1979219810
type: integer
19811+
asm_serverless_agg_sum:
19812+
description: Shows the sum of all Application Security Monitoring Serverless
19813+
invocations over all hours in the current months for all organizations.
19814+
format: int64
19815+
type: integer
1979319816
audit_logs_lines_indexed_agg_sum:
1979419817
deprecated: true
1979519818
description: Shows the sum of all audit logs lines indexed over all hours

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,8 @@ const enumsMap: { [key: string]: any[] } = {
14151415
"appsec_fargate_percentage",
14161416
"estimated_rum_usage_attribution_usage",
14171417
"estimated_rum_usage_attribution_percentage",
1418+
"asm_serverless_traced_invocations_usage",
1419+
"asm_serverless_traced_invocations_percentage",
14181420
],
14191421
UsageAttributionSupportedMetrics: [
14201422
"custom_timeseries_usage",
@@ -1463,6 +1465,8 @@ const enumsMap: { [key: string]: any[] } = {
14631465
"appsec_fargate_percentage",
14641466
"estimated_rum_usage_attribution_usage",
14651467
"estimated_rum_usage_attribution_percentage",
1468+
"asm_serverless_traced_invocations_usage",
1469+
"asm_serverless_traced_invocations_percentage",
14661470
"*",
14671471
],
14681472
UsageMetricCategory: ["standard", "custom"],

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export type UsageAttributionSort =
4747
| typeof APPSEC_FARGATE_PERCENTAGE
4848
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
4949
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
50+
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
51+
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
5052
| UnparsedObject;
5153
export const API_PERCENTAGE = "api_percentage";
5254
export const SNMP_USAGE = "snmp_usage";
@@ -90,3 +92,7 @@ export const ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE =
9092
"estimated_rum_usage_attribution_usage";
9193
export const ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE =
9294
"estimated_rum_usage_attribution_percentage";
95+
export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE =
96+
"asm_serverless_traced_invocations_usage";
97+
export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE =
98+
"asm_serverless_traced_invocations_percentage";

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ export type UsageAttributionSupportedMetrics =
5757
| typeof APPSEC_FARGATE_PERCENTAGE
5858
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
5959
| typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
60+
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
61+
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
6062
| typeof ALL
6163
| UnparsedObject;
6264
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
@@ -111,4 +113,8 @@ export const ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE =
111113
"estimated_rum_usage_attribution_usage";
112114
export const ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE =
113115
"estimated_rum_usage_attribution_percentage";
116+
export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE =
117+
"asm_serverless_traced_invocations_usage";
118+
export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE =
119+
"asm_serverless_traced_invocations_percentage";
114120
export const ALL = "*";

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export class UsageSummaryDate {
3535
* Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current date for all organizations.
3636
*/
3737
"appsecFargateCountAvg"?: number;
38+
/**
39+
* Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current date for all organizations.
40+
*/
41+
"asmServerlessSum"?: number;
3842
/**
3943
* Shows the sum of audit logs lines indexed over all hours in the current date for all organizations.
4044
*/
@@ -463,6 +467,11 @@ export class UsageSummaryDate {
463467
type: "number",
464468
format: "int64",
465469
},
470+
asmServerlessSum: {
471+
baseName: "asm_serverless_sum",
472+
type: "number",
473+
format: "int64",
474+
},
466475
auditLogsLinesIndexedSum: {
467476
baseName: "audit_logs_lines_indexed_sum",
468477
type: "number",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ export class UsageSummaryDateOrg {
3434
* Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for the given org.
3535
*/
3636
"appsecFargateCountAvg"?: number;
37+
/**
38+
* Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current month for the given org.
39+
*/
40+
"asmServerlessSum"?: number;
3741
/**
3842
* Shows the sum of all audit logs lines indexed over all hours in the current date for the given org.
3943
*/
@@ -478,6 +482,11 @@ export class UsageSummaryDateOrg {
478482
type: "number",
479483
format: "int64",
480484
},
485+
asmServerlessSum: {
486+
baseName: "asm_serverless_sum",
487+
type: "number",
488+
format: "int64",
489+
},
481490
auditLogsLinesIndexedSum: {
482491
baseName: "audit_logs_lines_indexed_sum",
483492
type: "number",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ export class UsageSummaryResponse {
3636
* Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for all organizations.
3737
*/
3838
"appsecFargateCountAvgSum"?: number;
39+
/**
40+
* Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current months for all organizations.
41+
*/
42+
"asmServerlessAggSum"?: number;
3943
/**
4044
* Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations.
4145
*/
@@ -508,6 +512,11 @@ export class UsageSummaryResponse {
508512
type: "number",
509513
format: "int64",
510514
},
515+
asmServerlessAggSum: {
516+
baseName: "asm_serverless_agg_sum",
517+
type: "number",
518+
format: "int64",
519+
},
511520
auditLogsLinesIndexedAggSum: {
512521
baseName: "audit_logs_lines_indexed_agg_sum",
513522
type: "number",

0 commit comments

Comments
 (0)