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

79 lines
4.1 KiB
Plaintext

[[reference-fleet-global_checkpoints]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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.fleet.globalCheckpoints]]
=== client.fleet.globalCheckpoints
Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
{ref}/get-global-checkpoints.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(FleetGlobalCheckpointsRequest, options?): Promise<FleetGlobalCheckpointsResponse>
----
[discrete]
==== Request
[pass]
++++
<pre>
++++
interface FleetGlobalCheckpointsRequest extends <<RequestBase>> {
index: <<IndexName>> | <<IndexAlias>>
wait_for_advance?: boolean
wait_for_index?: boolean
checkpoints?: <<FleetCheckpoint>>[]
timeout?: <<Duration>>
}
[pass]
++++
</pre>
++++
[discrete]
==== Response
[pass]
++++
<pre>
++++
interface FleetGlobalCheckpointsResponse {
global_checkpoints: <<FleetCheckpoint>>[]
timed_out: boolean
}
[pass]
++++
</pre>
++++