Class ClusterStateRequestParameters
Request options for State
<p>https://docs.opensearch.org/latest/</p>
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.ClusterApi
Assembly: OpenSearch.Net.dll
Syntax
public class ClusterStateRequestParameters : RequestParameters<ClusterStateRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceAllowNoIndices
Whether to ignore a wildcard index expression that resolves into no concrete indexes. This includes the _all string or when no
indexes have been specified.
Declaration
public bool? AllowNoIndices { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ClusterManagerTimeout
The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.
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 SourceExpandWildcards
Specifies the type of index that wildcard expressions can match. Supports comma-separated values.
Declaration
public ExpandWildcards? ExpandWildcards { get; set; }
Property Value
| Type | Description |
|---|---|
| ExpandWildcards? |
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
| Type | Description |
|---|---|
| bool? |
IgnoreUnavailable
Whether the specified concrete indexes should be ignored when unavailable (missing or closed).
Declaration
public bool? IgnoreUnavailable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Local
Whether to return information from the local node only instead of from the cluster manager node.
Declaration
public bool? Local { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
MasterTimeout
A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours)
and d (days). Also accepts 0 without a unit and -1 to indicate an unspecified value.
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 |
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
| Type | Description |
|---|---|
| string |
Overrides
| Edit this page View SourceSupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
| Edit this page View SourceWaitForMetadataVersion
Wait for the metadata version to be equal or greater than the specified metadata version.
Declaration
public long? WaitForMetadataVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
WaitForTimeout
The maximum time to wait for wait_for_metadata_version before timing out.
Declaration
public TimeSpan WaitForTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |