Skip to content

Commit a2ecc39

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add flex logs storage tier (#1620)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 19db31d commit a2ecc39

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
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-05-14 16:39:59.497453",
8-
"spec_repo_commit": "45952461"
7+
"regenerated": "2024-05-15 14:46:55.396215",
8+
"spec_repo_commit": "4e2ffe7b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-14 16:39:59.515084",
13-
"spec_repo_commit": "45952461"
12+
"regenerated": "2024-05-15 14:46:55.414272",
13+
"spec_repo_commit": "4e2ffe7b"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11736,15 +11736,17 @@ components:
1173611736
- DESCENDING
1173711737
LogsStorageTier:
1173811738
default: indexes
11739-
description: Specifies storage type as indexes or online-archives
11739+
description: Specifies storage type as indexes, online-archives or flex
1174011740
enum:
1174111741
- indexes
1174211742
- online-archives
11743+
- flex
1174311744
example: indexes
1174411745
type: string
1174511746
x-enum-varnames:
1174611747
- INDEXES
1174711748
- ONLINE_ARCHIVES
11749+
- FLEX
1174811750
LogsWarning:
1174911751
description: A warning message indicating something that went wrong with the
1175011752
query

packages/datadog-api-client-v2/models/LogsQueryFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class LogsQueryFilter {
2424
*/
2525
"query"?: string;
2626
/**
27-
* Specifies storage type as indexes or online-archives
27+
* Specifies storage type as indexes, online-archives or flex
2828
*/
2929
"storageTier"?: LogsStorageTier;
3030
/**

packages/datadog-api-client-v2/models/LogsStorageTier.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* Specifies storage type as indexes or online-archives
10+
* Specifies storage type as indexes, online-archives or flex
1111
*/
1212

1313
export type LogsStorageTier =
1414
| typeof INDEXES
1515
| typeof ONLINE_ARCHIVES
16+
| typeof FLEX
1617
| UnparsedObject;
1718
export const INDEXES = "indexes";
1819
export const ONLINE_ARCHIVES = "online-archives";
20+
export const FLEX = "flex";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ const enumsMap: { [key: string]: any[] } = {
14061406
LogsMetricType: ["logs_metrics"],
14071407
LogsSort: ["timestamp", "-timestamp"],
14081408
LogsSortOrder: ["asc", "desc"],
1409-
LogsStorageTier: ["indexes", "online-archives"],
1409+
LogsStorageTier: ["indexes", "online-archives", "flex"],
14101410
MetricActiveConfigurationType: ["actively_queried_configurations"],
14111411
MetricBulkConfigureTagsType: ["metric_bulk_configure_tags"],
14121412
MetricContentEncoding: ["deflate", "zstd1", "gzip"],

0 commit comments

Comments
 (0)