CancelTasksDescriptor
public class CancelTasksDescriptor : RequestDescriptorBase<CancelTasksDescriptor, CancelTasksRequestParameters, ICancelTasksRequest>, ICancelTasksRequest, IRequest<CancelTasksRequestParameters>, IRequest
Descriptor for Cancel
https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
public CancelTasksDescriptor()
/_tasks/_cancel
/_tasks/{task_id}/_cancel
A comma-separated list of actions that should be cancelled. Leave empty to cancel all.
A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.
Cancel the task with specified task id (node_id:task_number)
Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false