65 lines
4.2 KiB
Plaintext
65 lines
4.2 KiB
Plaintext
[[reference-indices-resolve_cluster]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| 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.indices.resolveCluster
|
|
|
|
Resolves the specified index expressions to return information about each cluster, including the local cluster, if included. Multiple patterns and remote clusters are supported.
|
|
|
|
{ref}/indices-resolve-cluster-api.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(IndicesResolveClusterRequest, options?): Promise<IndicesResolveClusterResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `IndicesResolveClusterRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface IndicesResolveClusterRequest extends <<shared-type-request-base, RequestBase>> {
|
|
name: <<shared-type-names, Names>>
|
|
allow_no_indices?: boolean
|
|
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
|
ignore_throttled?: boolean
|
|
ignore_unavailable?: boolean
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `IndicesResolveClusterResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
type IndicesResolveClusterResponse = Record<<<shared-type-cluster-alias, ClusterAlias>>, IndicesResolveClusterResolveClusterInfo>
|
|
----
|
|
|