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

73 lines
3.8 KiB
Plaintext

[[reference-ilm-get_status]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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.getStatus]]
=== client.ilm.getStatus
Retrieves the current index lifecycle management (ILM) status.
{ref}/ilm-get-status.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(IlmGetStatusRequest, options?): Promise<IlmGetStatusResponse>
----
[discrete]
==== IlmGetStatusRequest
[pass]
++++
<pre>
++++
interface IlmGetStatusRequest extends <<RequestBase>> {
}
[pass]
++++
</pre>
++++
[discrete]
==== IlmGetStatusResponse
[pass]
++++
<pre>
++++
interface IlmGetStatusResponse {
operation_mode: <<LifecycleOperationMode>>
}
[pass]
++++
</pre>
++++