Class ClusterStatsRequestParameters
Request options for Stats
<p>https://docs.opensearch.org/latest/api-reference/cluster-api/cluster-stats/</p>
Inheritance
ClusterStatsRequestParameters
Namespace: OpenSearch.Net.Specification.ClusterApi
Assembly: OpenSearch.Net.dll
Syntax
public class ClusterStatsRequestParameters : RequestParameters<ClusterStatsRequestParameters>, IRequestParameters
Properties
|
Edit this page
View Source
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Overrides
|
Edit this page
View Source
FlatSettings
Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings. For example, the flat
form of "cluster": { "max_shards_per_node": 500 } is "cluster.max_shards_per_node":
"500".
Declaration
public bool? FlatSettings { get; set; }
Property Value
|
Edit this page
View Source
OperationName
The OpenSearch REST API operation name this request maps to (for example search or
indices.create), used as the OpenTelemetry span name and db.operation tag.
null for requests that do not correspond to a named API operation.
Declaration
public override string OperationName { get; }
Property Value
Overrides
|
Edit this page
View Source
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Overrides
|
Edit this page
View Source
Timeout
The amount of time to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include
its stats. However, timed out nodes are included in the response's _nodes.failed property. Defaults to no timeout.
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Implements
Extension Methods