kibana/docs/development/core/server/kibana-plugin-server.elasticsearchservicesetup.adminclient.md
Mikhail Shustov 5aad2f6a8f
Don't expose Elasticsearch client as Observable (#53824) (#54228)
* expose ES clients without observables

* expose observable-less api to plugins

* update core api and mocks

* update plugins

* NP SO & legacy use updated API

* update SO tests

* update TSDocs

* update types

* update docs

* document createCluster analog in np

* typo
2020-01-08 13:26:02 +03:00

724 B

Home > kibana-plugin-server > ElasticsearchServiceSetup > adminClient

ElasticsearchServiceSetup.adminClient property

A client for the admin cluster. All Elasticsearch config value changes are processed under the hood. See IClusterClient.

Signature:

readonly adminClient: IClusterClient;

Example

const client = core.elasticsearch.adminClient;