Class CatTasksDescriptor
Descriptor for Tasks
https://opensearch.org/docs/latest/api-reference/cat/cat-tasks/
Inheritance
CatTasksDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CatTasksDescriptor : RequestDescriptorBase<CatTasksDescriptor, CatTasksRequestParameters, ICatTasksRequest>, IDescriptor, ICatTasksRequest, IRequest<CatTasksRequestParameters>, IRequest
Methods
|
Edit this page
View Source
Actions(params string[])
The task action names, which are used to limit the response.
Declaration
public CatTasksDescriptor Actions(params string[] actions)
Parameters
Type |
Name |
Description |
string[] |
actions |
|
Returns
|
Edit this page
View Source
Detailed(bool?)
If true
, the response includes detailed information about shard recoveries.
Declaration
public CatTasksDescriptor Detailed(bool? detailed = true)
Parameters
Type |
Name |
Description |
bool? |
detailed |
|
Returns
|
Edit this page
View Source
A short version of the Accept header (for example, json
, yaml
).
Declaration
public CatTasksDescriptor Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
|
Edit this page
View Source
Comma-separated list of column names to display.
Declaration
public CatTasksDescriptor Headers(params string[] headers)
Parameters
Type |
Name |
Description |
string[] |
headers |
|
Returns
|
Edit this page
View Source
Help(bool?)
Declaration
public CatTasksDescriptor Help(bool? help = true)
Parameters
Type |
Name |
Description |
bool? |
help |
|
Returns
|
Edit this page
View Source
Nodes(params string[])
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.
Declaration
public CatTasksDescriptor Nodes(params string[] nodes)
Parameters
Type |
Name |
Description |
string[] |
nodes |
|
Returns
|
Edit this page
View Source
ParentTaskId(string)
The parent task identifier, which is used to limit the response.
Declaration
public CatTasksDescriptor ParentTaskId(string parenttaskid)
Parameters
Type |
Name |
Description |
string |
parenttaskid |
|
Returns
|
Edit this page
View Source
SortByColumns(params string[])
Comma-separated list of column names or column aliases to sort by.
Declaration
public CatTasksDescriptor SortByColumns(params string[] sortbycolumns)
Parameters
Type |
Name |
Description |
string[] |
sortbycolumns |
|
Returns
|
Edit this page
View Source
Verbose(bool?)
Verbose mode. Display column headers.
Declaration
public CatTasksDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods