Test run of new docs
This commit is contained in:
70
docs/reference-cluster-reroute.asciidoc
Normal file
70
docs/reference-cluster-reroute.asciidoc
Normal file
@ -0,0 +1,70 @@
|
||||
[[reference-cluster-reroute]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.reroute
|
||||
|
||||
Allows to manually change the allocation of individual shards in the cluster.
|
||||
|
||||
{ref}/cluster-reroute.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterRerouteRequest, options?): Promise<ClusterRerouteResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterRerouteRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterRerouteRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
dry_run?: boolean
|
||||
explain?: boolean
|
||||
metric?: <<shared-type-metrics, Metrics>>
|
||||
retry_failed?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
commands?: ClusterRerouteCommand[]
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterRerouteResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterRerouteResponse {
|
||||
acknowledged: boolean
|
||||
explanations?: ClusterRerouteRerouteExplanation[]
|
||||
state?: any
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user