75 lines
4.0 KiB
Plaintext
75 lines
4.0 KiB
Plaintext
[[reference-ccr-forget_follower]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| 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> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
++++
|
|
<style>
|
|
.lang-ts a.xref {
|
|
text-decoration: underline !important;
|
|
}
|
|
</style>
|
|
++++
|
|
|
|
[[client.ccr.forgetFollower]]
|
|
== client.ccr.forgetFollower
|
|
|
|
Removes the follower retention leases from the leader.
|
|
|
|
{ref}/ccr-post-forget-follower.html[{es} documentation]
|
|
[discrete]
|
|
== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(CcrForgetFollowerRequest, options?): Promise<CcrForgetFollowerResponse>
|
|
----
|
|
|
|
[discrete]
|
|
=== Request
|
|
|
|
[source,ts,subs=+macros]
|
|
----
|
|
interface CcrForgetFollowerRequest extends <<RequestBase>> {
|
|
index: <<IndexName>>
|
|
follower_cluster?: string
|
|
follower_index?: <<IndexName>>
|
|
follower_index_uuid?: <<Uuid>>
|
|
leader_remote_cluster?: string
|
|
}
|
|
|
|
----
|
|
|
|
[discrete]
|
|
=== Response
|
|
|
|
[source,ts,subs=+macros]
|
|
----
|
|
interface CcrForgetFollowerResponse {
|
|
_shards: <<ShardStatistics>>
|
|
}
|
|
|
|
----
|
|
|