Skip to content

Commit

Permalink
Update spec for the GET _data_stream API
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidan committed Oct 16, 2023
1 parent 0f7969a commit ab0b2b2
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 4 deletions.
68 changes: 64 additions & 4 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions specification/indices/_types/DataStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ export class DataStream {
* NOTE: A data stream’s backing indices may be assigned different lifecycle policies. To retrieve the lifecycle policy for individual backing indices, use the get index settings API.
*/
ilm_policy?: Name
/**
* Name of the lifecycle system that'll manage the next generation of the data stream.
*/
next_generation_managed_by: string
/**
* Indicates if ILM should take precedence over DSL in case both are configured to managed this data stream.
*/
prefer_ilm: boolean
/**
* Array of objects containing information about the data stream’s backing indices.
* The last item in this array contains information about the stream’s current write index.
Expand Down Expand Up @@ -111,6 +119,18 @@ export class DataStreamIndex {
* Universally unique identifier (UUID) for the index.
*/
index_uuid: Uuid
/**
* Name of the current ILM lifecycle policy configured for this backing index.
*/
ilm_policy?: Name
/**
* Name of the lifecycle system that's currently managing this backing index.
*/
managed_by: string
/**
* Indicates if ILM should take precedence over DSL in case both are configured to manage this index.
*/
prefer_ilm: boolean
}

export class DataStreamVisibility {
Expand Down

0 comments on commit ab0b2b2

Please sign in to comment.