diff --git a/src/api/types.ts b/src/api/types.ts index 9cd35fef9..9d9176873 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -2286,6 +2286,8 @@ export type Level = 'cluster' | 'indices' | 'shards' export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED' +export type ManagedBy = 'Index Lifecycle Management' | 'Data Stream Lifecycle' | 'Unmanaged' + export type MapboxVectorTiles = ArrayBuffer export interface MergesStats { @@ -9523,6 +9525,8 @@ export interface IndicesDataStream { generation: integer hidden: boolean ilm_policy?: Name + next_generation_managed_by: ManagedBy + prefer_ilm: boolean indices: IndicesDataStreamIndex[] lifecycle?: IndicesDataStreamLifecycleWithRollover name: DataStreamName @@ -9536,6 +9540,9 @@ export interface IndicesDataStream { export interface IndicesDataStreamIndex { index_name: IndexName index_uuid: Uuid + ilm_policy?: Name + managed_by: ManagedBy + prefer_ilm: boolean } export interface IndicesDataStreamLifecycle { diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index 1afe734f8..7016b27c3 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -2359,6 +2359,8 @@ export type Level = 'cluster' | 'indices' | 'shards' export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED' +export type ManagedBy = 'Index Lifecycle Management' | 'Data Stream Lifecycle' | 'Unmanaged' + export type MapboxVectorTiles = ArrayBuffer export interface MergesStats { @@ -9646,6 +9648,8 @@ export interface IndicesDataStream { generation: integer hidden: boolean ilm_policy?: Name + next_generation_managed_by: ManagedBy + prefer_ilm: boolean indices: IndicesDataStreamIndex[] lifecycle?: IndicesDataStreamLifecycleWithRollover name: DataStreamName @@ -9659,6 +9663,9 @@ export interface IndicesDataStream { export interface IndicesDataStreamIndex { index_name: IndexName index_uuid: Uuid + ilm_policy?: Name + managed_by: ManagedBy + prefer_ilm: boolean } export interface IndicesDataStreamLifecycle {