Search Results for

    Show / Hide Table of Contents

    Class ClusterStateRequest

    Request for State

    https://opensearch.org/docs/latest

    Inheritance
    object
    RequestBase<ClusterStateRequestParameters>
    PlainRequestBase<ClusterStateRequestParameters>
    ClusterStateRequest
    Implements
    IClusterStateRequest
    IRequest<ClusterStateRequestParameters>
    IRequest
    Inherited Members
    PlainRequestBase<ClusterStateRequestParameters>.RequestConfiguration
    PlainRequestBase<ClusterStateRequestParameters>.ErrorTrace
    PlainRequestBase<ClusterStateRequestParameters>.FilterPath
    PlainRequestBase<ClusterStateRequestParameters>.Human
    PlainRequestBase<ClusterStateRequestParameters>.Pretty
    PlainRequestBase<ClusterStateRequestParameters>.SourceQueryString
    RequestBase<ClusterStateRequestParameters>.HttpMethod
    RequestBase<ClusterStateRequestParameters>.RequestState
    RequestBase<ClusterStateRequestParameters>.ContentType
    RequestBase<ClusterStateRequestParameters>.ResolveUrl(RouteValues, IConnectionSettingsValues)
    RequestBase<ClusterStateRequestParameters>.RequestDefaults(ClusterStateRequestParameters)
    RequestBase<ClusterStateRequestParameters>.Q<TOut>(string)
    RequestBase<ClusterStateRequestParameters>.Q(string, object)
    RequestBase<ClusterStateRequestParameters>.SetAcceptHeader(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class ClusterStateRequest : PlainRequestBase<ClusterStateRequestParameters>, IClusterStateRequest, IRequest<ClusterStateRequestParameters>, IRequest

    Constructors

    | Edit this page View Source

    ClusterStateRequest()

    /_cluster/state

    Declaration
    public ClusterStateRequest()
    | Edit this page View Source

    ClusterStateRequest(Metrics)

    /_cluster/state/{metric}

    Declaration
    public ClusterStateRequest(Metrics metric)
    Parameters
    Type Name Description
    Metrics metric

    Optional, accepts null

    | Edit this page View Source

    ClusterStateRequest(Metrics, Indices)

    /_cluster/state/{metric}/{index}

    Declaration
    public ClusterStateRequest(Metrics metric, Indices index)
    Parameters
    Type Name Description
    Metrics metric

    Optional, accepts null

    Indices index

    Optional, accepts null

    Properties

    | Edit this page View Source

    AllowNoIndices

    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?
    | Edit this page View Source

    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 Time ClusterManagerTimeout { get; set; }
    Property Value
    Type Description
    Time
    Remarks

    Supported by OpenSearch servers of version 2.0.0 or greater.

    | Edit this page View Source

    ExpandWildcards

    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?
    | 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
    Type Description
    bool?
    | Edit this page View Source

    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?
    | Edit this page View Source

    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?
    | Edit this page View Source

    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
    | Edit this page View Source

    Self

    Declaration
    protected IClusterStateRequest Self { get; }
    Property Value
    Type Description
    IClusterStateRequest
    | Edit this page View Source

    WaitForMetadataVersion

    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?
    | Edit this page View Source

    WaitForTimeout

    The maximum time to wait for wait_for_metadata_version before timing out.

    Declaration
    public Time WaitForTimeout { get; set; }
    Property Value
    Type Description
    Time

    Implements

    IClusterStateRequest
    IRequest<TParameters>
    IRequest

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • ClusterStateRequest()
      • ClusterStateRequest(Metrics)
      • ClusterStateRequest(Metrics, Indices)
    • Properties
      • AllowNoIndices
      • ClusterManagerTimeout
      • ExpandWildcards
      • FlatSettings
      • IgnoreUnavailable
      • Local
      • MasterTimeout
      • Self
      • WaitForMetadataVersion
      • WaitForTimeout
    • Implements
    • Extension Methods
    Back to top Generated by DocFX