77 lines
4.1 KiB
Plaintext
77 lines
4.1 KiB
Plaintext
[[reference-indices-get_data_lifecycle]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
|
|| You should update the script that does the generation, which can be found in: ||
|
|
|| https://github.com/elastic/elastic-client-generator-js ||
|
|
|| ||
|
|
|| You can run the script with the following command: ||
|
|
|| npm run elasticsearch -- --version <version> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
|
|
[discrete]
|
|
[[client.indices.getDataLifecycle]]
|
|
=== client.indices.getDataLifecycle
|
|
|
|
Get data stream lifecycles. Retrieves the data stream lifecycle configuration of one or more data streams.
|
|
|
|
{ref}/data-streams-get-lifecycle.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(IndicesGetDataLifecycleRequest, options?): Promise<IndicesGetDataLifecycleResponse>
|
|
----
|
|
|
|
[discrete]
|
|
==== IndicesGetDataLifecycleRequest
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface IndicesGetDataLifecycleRequest extends <<RequestBase>> {
|
|
name: <<DataStreamNames>>
|
|
expand_wildcards?: <<ExpandWildcards>>
|
|
include_defaults?: boolean
|
|
master_timeout?: <<Duration>>
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
[discrete]
|
|
==== IndicesGetDataLifecycleResponse
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface IndicesGetDataLifecycleResponse {
|
|
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[]
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|