Class ClusterRerouteRequestParameters
Request options for Reroute
<p>https://docs.opensearch.org/latest/</p>
Inheritance
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.ClusterApi
Assembly: OpenSearch.Net.dll
Syntax
public class ClusterRerouteRequestParameters : RequestParameters<ClusterRerouteRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceClusterManagerTimeout
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 SourceDryRun
When true, the request simulates the operation and returns the resulting state.
Declaration
public bool? DryRun { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Explain
When true, the response contains an explanation of why reroute certain commands can or cannot be executed.
Declaration
public bool? Explain { 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 |
Metric
Limits the information returned to the specified metrics.
Declaration
public ClusterRerouteMetric? Metric { get; set; }
Property Value
| Type | Description |
|---|---|
| ClusterRerouteMetric? |
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 SourceRetryFailed
When true, retries shard allocation if it was blocked because of too many subsequent failures.
Declaration
public bool? RetryFailed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
| Edit this page View SourceTimeout
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
public TimeSpan Timeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |