Class ClusterGetSettingsDescriptor
Descriptor for GetSettings
https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-settings/
Inheritance
ClusterGetSettingsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ClusterGetSettingsDescriptor : RequestDescriptorBase<ClusterGetSettingsDescriptor, ClusterGetSettingsRequestParameters, IClusterGetSettingsRequest>, IDescriptor, IClusterGetSettingsRequest, IRequest<ClusterGetSettingsRequestParameters>, IRequest
Methods
|
Edit this page
View Source
ClusterManagerTimeout(Time)
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 ClusterGetSettingsDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type |
Name |
Description |
Time |
clustermanagertimeout |
|
Returns
|
Edit this page
View Source
FlatSettings(bool?)
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 ClusterGetSettingsDescriptor FlatSettings(bool? flatsettings = true)
Parameters
Type |
Name |
Description |
bool? |
flatsettings |
|
Returns
|
Edit this page
View Source
IncludeDefaults(bool?)
When true
, returns default cluster settings from the local node.
Declaration
public ClusterGetSettingsDescriptor IncludeDefaults(bool? includedefaults = true)
Parameters
Type |
Name |
Description |
bool? |
includedefaults |
|
Returns
|
Edit this page
View Source
MasterTimeout(Time)
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 ClusterGetSettingsDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type |
Name |
Description |
Time |
mastertimeout |
|
Returns
|
Edit this page
View Source
Timeout(Time)
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 ClusterGetSettingsDescriptor Timeout(Time timeout)
Parameters
Type |
Name |
Description |
Time |
timeout |
|
Returns
Implements
Extension Methods