Class ClusterRerouteRequest
Request for Reroute
https://opensearch.org/docs/latest
Inheritance
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public class ClusterRerouteRequest : PlainRequestBase<ClusterRerouteRequestParameters>, IClusterRerouteRequest, IRequest<ClusterRerouteRequestParameters>, IRequest
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 Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
Commands
Declaration
public IList<IClusterRerouteCommand> Commands { get; set; }
Property Value
Type | Description |
---|---|
IList<ICluster |
DryRun
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 Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Metric
Limits the information returned to the specified metrics.
Declaration
public ClusterRerouteMetric? Metric { get; set; }
Property Value
Type | Description |
---|---|
Cluster |
RetryFailed
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? |
Self
Declaration
protected IClusterRerouteRequest Self { get; }
Property Value
Type | Description |
---|---|
ICluster |
Timeout
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 Time Timeout { get; set; }
Property Value
Type | Description |
---|---|
Time |