///<summary>PUT on /_nodes/{node_id}/shutdown <para>https://www.elastic.co/guide/en/elasticsearch/reference/current</para></summary> ///<param name = "nodeId">The node id of node to be shut down</param> ///<param name = "body">The shutdown type definition to register</param> ///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param> ///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks> public TResponse PutNode <TResponse>(string nodeId, PostData body, PutNodeRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(PUT, Url($"_nodes/{nodeId:nodeId}/shutdown"), body, RequestParams(requestParameters));
public Task <TResponse> PutNodeAsync <TResponse>(string nodeId, PostData body, PutNodeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(PUT, Url($"_nodes/{nodeId:nodeId}/shutdown"), ctx, body, RequestParams(requestParameters));