Class CatHealthDescriptor
Descriptor for Health
https://opensearch.org/docs/latest/api-reference/cat/cat-health/
Inheritance
CatHealthDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CatHealthDescriptor : RequestDescriptorBase<CatHealthDescriptor, CatHealthRequestParameters, ICatHealthRequest>, IDescriptor, ICatHealthRequest, IRequest<CatHealthRequestParameters>, IRequest
Methods
|
Edit this page
View Source
A short version of the Accept header (for example, json
, yaml
).
Declaration
public CatHealthDescriptor 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 CatHealthDescriptor Headers(params string[] headers)
Parameters
Type |
Name |
Description |
string[] |
headers |
|
Returns
|
Edit this page
View Source
Help(bool?)
Declaration
public CatHealthDescriptor Help(bool? help = true)
Parameters
Type |
Name |
Description |
bool? |
help |
|
Returns
|
Edit this page
View Source
IncludeTimestamp(bool?)
If true
, returns HH:MM:SS
and Unix epoch timestamps.
Declaration
public CatHealthDescriptor IncludeTimestamp(bool? includetimestamp = true)
Parameters
Type |
Name |
Description |
bool? |
includetimestamp |
|
Returns
|
Edit this page
View Source
SortByColumns(params string[])
Comma-separated list of column names or column aliases to sort by.
Declaration
public CatHealthDescriptor 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 CatHealthDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods