Files
elasticsearch-js/docs/reference-cat-pending_tasks.asciidoc

71 lines
4.1 KiB
Plaintext

[[reference-cat-pending_tasks]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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.cat.pendingTasks]]
=== client.cat.pendingTasks
Returns cluster-level changes that have not yet been executed. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
{ref}/cat-pending-tasks.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(CatPendingTasksRequest, options?): Promise<CatPendingTasksResponse>
----
[discrete]
==== CatPendingTasksRequest
[pass]
++++
<pre>
++++
interface CatPendingTasksRequest extends <<CatCatRequestBase>> {
}
[pass]
++++
</pre>
++++
[discrete]
==== CatPendingTasksResponse
[pass]
++++
<pre>
++++
type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[]
[pass]
++++
</pre>
++++