NEST by Elastic and contributors

<PackageReference Include="NEST" Version="6.8.1" />

.NET API 5,326,336 bytes

 ClusterStateRequest

public class ClusterStateRequest : PlainRequestBase<ClusterStateRequestParameters>, IClusterStateRequest, IRequest<ClusterStateRequestParameters>, IRequest
Request parameters for ClusterState http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
public bool? AllowNoIndices { get; set; }

Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)

public ExpandWildcards? ExpandWildcards { get; set; }

Whether to expand wildcard expression to concrete indices that are open, closed or both.

public bool? FlatSettings { get; set; }

Return settings in flat format (default: false)

public bool? IgnoreUnavailable { get; set; }

Whether specified concrete indices should be ignored when unavailable (missing or closed)

public bool? Local { get; set; }

Return local information, do not retrieve the state from master node (default: false)

public Time MasterTimeout { get; set; }

Specify timeout for connection to master

protected IClusterStateRequest Self { get; }

public long? WaitForMetadataVersion { get; set; }

Wait for the metadata version to be equal or greater than the specified metadata version

public Time WaitForTimeout { get; set; }

The maximum time to wait for wait_for_metadata_version before timing out

/_cluster/state

/_cluster/state/{metric}

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