NEST by Elastic and contributors

<PackageReference Include="NEST" Version="7.7.1" />

.NET API 4,616,192 bytes

 ListTasksDescriptor

Descriptor for List

https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html

public ListTasksDescriptor Actions(string[] actions)

A comma-separated list of actions that should be returned. Leave empty to return all.

public ListTasksDescriptor Detailed(bool? detailed = true)

Return detailed task information (default: false)

Group tasks by nodes or parent/child relationships

public ListTasksDescriptor Nodes(string[] nodes)

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

public ListTasksDescriptor ParentTaskId(string parenttaskid)

Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.

Explicit operation timeout

public ListTasksDescriptor WaitForCompletion(bool? waitforcompletion = true)

Wait for the matching tasks to complete (default: false)