Class ShardsRequestParameters
Request options for Shards
https://opensearch.org/docs/latest/api-reference/list/list-shards/
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.ListApi
Assembly: OpenSearch.Net.dll
Syntax
public class ShardsRequestParameters : RequestParameters<ShardsRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceBytes
The unit used to display byte values.
Declaration
public ByteUnit? Bytes { get; set; }
Property Value
Type | Description |
---|---|
ByteUnit? |
ClusterManagerTimeout
Operation timeout for connection to cluster-manager node.
Declaration
public TimeSpan ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourceFormat
A short version of the Accept header, such as JSON
, YAML
.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
Headers
Comma-separated list of column names to display.
Declaration
public string[] Headers { get; set; }
Property Value
Type | Description |
---|---|
string[] |
Help
Return help information.
Declaration
public bool? Help { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Local
Return local information, do not retrieve the state from cluster-manager node.
Declaration
public bool? Local { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MasterTimeout
Operation timeout for connection to cluster-manager node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public TimeSpan MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
NextToken
Token to retrieve next page of shards.
Declaration
public string NextToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Size
Maximum number of shards to be displayed in a page.
Declaration
public long? Size { get; set; }
Property Value
Type | Description |
---|---|
long? |
Sort
Defines order in which shards will be displayed. Accepted values are asc
and desc
. If desc
, most recently created shards would be
displayed first.
Declaration
public string Sort { get; set; }
Property Value
Type | Description |
---|---|
string |
SortByColumns
Comma-separated list of column names or column aliases to sort by.
Declaration
public string[] SortByColumns { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceVerbose
Verbose mode. Display column headers.
Declaration
public bool? Verbose { get; set; }
Property Value
Type | Description |
---|---|
bool? |