Files
elasticsearch-js/docs/reference/api/Shutdown.md
2025-05-27 15:30:21 -05:00

4.8 KiB

Shutdown

Constructor

::: new Shutdown(transport: Transport); :::

Properties

Name Type Description
acceptedParams Record<string, { path: string[]; body: string[]; query: string[]; }>  
transport Transport  

Methods

Name Signature Description
deleteNode deleteNode(this: [That](./That.md), params: [ShutdownDeleteNodeRequest](./ShutdownDeleteNodeRequest.md), options?: [TransportRequestOptionsWithOutMeta](./TransportRequestOptionsWithOutMeta.md)): Promise<[ShutdownDeleteNodeResponse](./ShutdownDeleteNodeResponse.md)>; Cancel node shutdown preparations. Remove a node from the shutdown list so it can resume normal operations. You must explicitly clear the shutdown request when a node rejoins the cluster or when a node has permanently left the cluster. Shutdown requests are never removed automatically by Elasticsearch. NOTE: This feature is designed for indirect use by Elastic Cloud, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported. If the operator privileges feature is enabled, you must be an operator to use this API.