IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get desired nodes API
editGet desired nodes API
editThis feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
Get desired nodes.
Request
editresp = client.perform_request( "GET", "/_internal/desired_nodes/_latest", ) print(resp)
const response = await client.transport.request({ method: "GET", path: "/_internal/desired_nodes/_latest", }); console.log(response);
GET /_internal/desired_nodes/_latest
Description
editThis API gets the latest desired nodes.
Examples
editThis example gets the latest desired nodes.
resp = client.perform_request( "GET", "/_internal/desired_nodes/_latest", ) print(resp)
const response = await client.transport.request({ method: "GET", path: "/_internal/desired_nodes/_latest", }); console.log(response);
GET /_internal/desired_nodes/_latest
The API returns the following result:
{ "history_id": <history_id>, "version": <version>, "nodes": [ { "settings": <node_settings>, "processors": <node_processors>, "memory": "<node_memory>", "storage": "<node_storage>" } ] }