Files
elasticsearch-js/docs/reference-ilm-explain_lifecycle.asciidoc
2024-12-05 14:46:52 -06:00

78 lines
4.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[[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 indexs 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>
++++