Skip to content

Commit b5d1fd9

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add flex logs storage tier (#1968)
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 5ecfedb commit b5d1fd9

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-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:57.264850",
8-
"spec_repo_commit": "45952461"
7+
"regenerated": "2024-05-15 14:46:59.394168",
8+
"spec_repo_commit": "4e2ffe7b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-14 16:39:57.281596",
13-
"spec_repo_commit": "45952461"
12+
"regenerated": "2024-05-15 14:46:59.412619",
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

src/datadog_api_client/v2/model/logs_query_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(
5959
:param query: The search query - following the log search syntax.
6060
:type query: str, optional
6161
62-
:param storage_tier: Specifies storage type as indexes or online-archives
62+
:param storage_tier: Specifies storage type as indexes, online-archives or flex
6363
:type storage_tier: LogsStorageTier, optional
6464
6565
:param to: The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).

src/datadog_api_client/v2/model/logs_storage_tier.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,20 @@
1414

1515
class LogsStorageTier(ModelSimple):
1616
"""
17-
Specifies storage type as indexes or online-archives
17+
Specifies storage type as indexes, online-archives or flex
1818
19-
:param value: If omitted defaults to "indexes". Must be one of ["indexes", "online-archives"].
19+
:param value: If omitted defaults to "indexes". Must be one of ["indexes", "online-archives", "flex"].
2020
:type value: str
2121
"""
2222

2323
allowed_values = {
2424
"indexes",
2525
"online-archives",
26+
"flex",
2627
}
2728
INDEXES: ClassVar["LogsStorageTier"]
2829
ONLINE_ARCHIVES: ClassVar["LogsStorageTier"]
30+
FLEX: ClassVar["LogsStorageTier"]
2931

3032
@cached_property
3133
def openapi_types(_):
@@ -36,3 +38,4 @@ def openapi_types(_):
3638

3739
LogsStorageTier.INDEXES = LogsStorageTier("indexes")
3840
LogsStorageTier.ONLINE_ARCHIVES = LogsStorageTier("online-archives")
41+
LogsStorageTier.FLEX = LogsStorageTier("flex")

0 commit comments

Comments
 (0)