Class ClusterGetSettingsRequestParameters
Request options for GetSettings
https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-settings/
Inheritance
Implements
Inherited Members
Namespace: OpenSearch .Net.Specification.ClusterApi
Assembly: OpenSearch.Net.dll
Syntax
public class ClusterGetSettingsRequestParameters : RequestParameters<ClusterGetSettingsRequestParameters>, 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 |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
Http |
Overrides
| Edit this page View SourceFlatSettings
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? |
IncludeDefaults
When true
, returns default cluster settings from the local node.
Declaration
public bool? IncludeDefaults { 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 |
---|---|
Time |
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 |
---|---|
Time |