Skip to content

Commit 8e84dfe

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add flex logs storage tier (#2493)
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 ea5c581 commit 8e84dfe

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
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:40:03.937580",
8-
"spec_repo_commit": "45952461"
7+
"regenerated": "2024-05-15 14:47:01.599856",
8+
"spec_repo_commit": "4e2ffe7b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-14 16:40:03.955222",
13-
"spec_repo_commit": "45952461"
12+
"regenerated": "2024-05-15 14:47:01.618687",
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

api/datadogV2/model_logs_query_filter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type LogsQueryFilter struct {
1616
Indexes []string `json:"indexes,omitempty"`
1717
// The search query - following the log search syntax.
1818
Query *string `json:"query,omitempty"`
19-
// Specifies storage type as indexes or online-archives
19+
// Specifies storage type as indexes, online-archives or flex
2020
StorageTier *LogsStorageTier `json:"storage_tier,omitempty"`
2121
// The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).
2222
To *string `json:"to,omitempty"`

api/datadogV2/model_logs_storage_tier.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,20 @@ import (
1010
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
1111
)
1212

13-
// LogsStorageTier Specifies storage type as indexes or online-archives
13+
// LogsStorageTier Specifies storage type as indexes, online-archives or flex
1414
type LogsStorageTier string
1515

1616
// List of LogsStorageTier.
1717
const (
1818
LOGSSTORAGETIER_INDEXES LogsStorageTier = "indexes"
1919
LOGSSTORAGETIER_ONLINE_ARCHIVES LogsStorageTier = "online-archives"
20+
LOGSSTORAGETIER_FLEX LogsStorageTier = "flex"
2021
)
2122

2223
var allowedLogsStorageTierEnumValues = []LogsStorageTier{
2324
LOGSSTORAGETIER_INDEXES,
2425
LOGSSTORAGETIER_ONLINE_ARCHIVES,
26+
LOGSSTORAGETIER_FLEX,
2527
}
2628

2729
// GetAllowedValues reeturns the list of possible values.

0 commit comments

Comments
 (0)