kibana/docs/development/core/server/kibana-plugin-server.elasticsearchservicesetup.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

1.4 KiB

Home > kibana-plugin-server > ElasticsearchServiceSetup

ElasticsearchServiceSetup interface

Signature:

export interface ElasticsearchServiceSetup 

Properties

Property Type Description
adminClient IClusterClient A client for the admin cluster. All Elasticsearch config value changes are processed under the hood. See IClusterClient.
createClient (type: string, clientConfig?: Partial<ElasticsearchClientConfig>) => ICustomClusterClient Create application specific Elasticsearch cluster API client with customized config. See IClusterClient.
dataClient IClusterClient A client for the data cluster. All Elasticsearch config value changes are processed under the hood. See IClusterClient.