78 lines
4.2 KiB
Plaintext
78 lines
4.2 KiB
Plaintext
[[reference-ilm-explain_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.ilm.explainLifecycle]]
|
||
=== client.ilm.explainLifecycle
|
||
|
||
Retrieves information about the index’s current lifecycle state, such as the currently executing phase, action, and step. Shows when the index entered each one, the definition of the running phase, and information about any failures.
|
||
|
||
{ref}/ilm-explain-lifecycle.html[{es} documentation]
|
||
|
||
[discrete]
|
||
==== Function signature
|
||
|
||
[source,ts]
|
||
----
|
||
(IlmExplainLifecycleRequest, options?): Promise<IlmExplainLifecycleResponse>
|
||
----
|
||
|
||
[discrete]
|
||
==== Request
|
||
|
||
[pass]
|
||
++++
|
||
<pre>
|
||
++++
|
||
interface IlmExplainLifecycleRequest extends <<RequestBase>> {
|
||
index: <<IndexName>>
|
||
only_errors?: boolean
|
||
only_managed?: boolean
|
||
master_timeout?: <<Duration>>
|
||
timeout?: <<Duration>>
|
||
}
|
||
|
||
[pass]
|
||
++++
|
||
</pre>
|
||
++++
|
||
[discrete]
|
||
==== Response
|
||
|
||
[pass]
|
||
++++
|
||
<pre>
|
||
++++
|
||
interface IlmExplainLifecycleResponse {
|
||
indices: Record<<<IndexName>>, IlmExplainLifecycleLifecycleExplain>
|
||
}
|
||
|
||
[pass]
|
||
++++
|
||
</pre>
|
||
++++
|