Class CatRecoveryDescriptor
Descriptor for Recovery
https://opensearch.org/docs/latest/api-reference/cat/cat-plugins/
Inheritance
CatRecoveryDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CatRecoveryDescriptor : RequestDescriptorBase<CatRecoveryDescriptor, CatRecoveryRequestParameters, ICatRecoveryRequest>, IDescriptor, ICatRecoveryRequest, IRequest<CatRecoveryRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
CatRecoveryDescriptor()
Declaration
public CatRecoveryDescriptor()
|
Edit this page
View Source
CatRecoveryDescriptor(Indices)
Declaration
public CatRecoveryDescriptor(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
Methods
|
Edit this page
View Source
ActiveOnly(bool?)
If true
, the response only includes ongoing shard recoveries.
Declaration
public CatRecoveryDescriptor ActiveOnly(bool? activeonly = true)
Parameters
Type |
Name |
Description |
bool? |
activeonly |
|
Returns
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public CatRecoveryDescriptor AllIndices()
Returns
|
Edit this page
View Source
Bytes(ByteUnit?)
The unit used to display byte values.
Declaration
public CatRecoveryDescriptor Bytes(ByteUnit? bytes)
Parameters
Returns
|
Edit this page
View Source
Detailed(bool?)
If true
, the response includes detailed information about shard recoveries.
Declaration
public CatRecoveryDescriptor Detailed(bool? detailed = true)
Parameters
Type |
Name |
Description |
bool? |
detailed |
|
Returns
|
Edit this page
View Source
A short version of the Accept header, e.g. json, yaml.
Declaration
public CatRecoveryDescriptor 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 CatRecoveryDescriptor Headers(params string[] headers)
Parameters
Type |
Name |
Description |
string[] |
headers |
|
Returns
|
Edit this page
View Source
Help(bool?)
Declaration
public CatRecoveryDescriptor Help(bool? help = true)
Parameters
Type |
Name |
Description |
bool? |
help |
|
Returns
|
Edit this page
View Source
Index(Indices)
A comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*
). To target all data streams and indices, omit this parameter or use *
or _all
.
Declaration
public CatRecoveryDescriptor Index(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
|
Returns
|
Edit this page
View Source
Index<TOther>()
a shortcut into calling Index(typeof(TOther))
Declaration
public CatRecoveryDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
SortByColumns(params string[])
Comma-separated list of column names or column aliases to sort by.
Declaration
public CatRecoveryDescriptor 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 CatRecoveryDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods