Class ListTasksRequestParameters
Request options for List
https://opensearch.org/docs/latest/api-reference/tasks/
Implements
Inherited Members
Namespace: OpenSearch .Net.Specification.TasksApi
Assembly: OpenSearch.Net.dll
Syntax
public class ListTasksRequestParameters : RequestParameters<ListTasksRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceActions
A comma-separated list of actions that should be returned. Keep empty to return all.
Declaration
public string[] Actions { get; set; }
Property Value
Type | Description |
---|---|
string[] |
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
Http |
Overrides
| Edit this page View SourceDetailed
When true
, the response includes detailed information about shard recoveries.
Declaration
public bool? Detailed { get; set; }
Property Value
Type | Description |
---|---|
bool? |
GroupBy
Groups tasks by parent/child relationships or nodes.
Declaration
public TasksGroupBy? GroupBy { get; set; }
Property Value
Type | Description |
---|---|
Tasks |
Nodes
A comma-separated list of node IDs or names used to limit the returned information. Use _local
to return information from the node
you're connecting to, specify the node name to get information from a specific node, or keep the parameter empty to get information from
all nodes.
Declaration
public string[] Nodes { get; set; }
Property Value
Type | Description |
---|---|
string[] |
ParentTaskId
Returns tasks with a specified parent task ID (node_id:task_number
). Keep empty or set to -1 to return all.
Declaration
public string ParentTaskId { get; set; }
Property Value
Type | Description |
---|---|
string |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceTimeout
The amount of time to wait for a response.
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
WaitForCompletion
Waits for the matching task to complete. When true
, the request is blocked until the task has completed.
Declaration
public bool? WaitForCompletion { get; set; }
Property Value
Type | Description |
---|---|
bool? |