File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -312,9 +312,11 @@ type IndexAlias struct {
312312}
313313
314314type LifecycleSettings struct {
315- DataRetention string `json:"data_retention,omitempty"`
316- Enabled bool `json:"enabled,omitempty"`
317- Downsampling []Downsampling `json:"downsampling,omitempty"`
315+ DataRetention string `json:"data_retention,omitempty"`
316+ Enabled bool `json:"enabled,omitempty"`
317+ EffectiveRetention string `json:"effective_retention,omitempty"`
318+ RetentionDeterminedBy string `json:"retention_determined_by,omitempty"`
319+ Downsampling []Downsampling `json:"downsampling,omitempty"`
318320}
319321
320322type Downsampling struct {
@@ -341,6 +343,11 @@ type DataStreamIndex struct {
341343 IndexUUID string `json:"index_uuid"`
342344}
343345
346+ type DataStreamGlobalRetention struct {
347+ MaxRetention string `json:"max_retention"`
348+ DefaultRetention string `json:"default_retention"`
349+ }
350+
344351type DataStreamLifecycle struct {
345352 Name string `json:"name"`
346353 Lifecycle LifecycleSettings `json:"lifecycle,omitempty"`
You can’t perform that action at this time.
0 commit comments