Class IndexTemplateExistsDescriptor
Descriptor for TemplateExists
https://opensearch.org/docs/latest
Inheritance
RequestDescriptorBase<IndexTemplateExistsDescriptor, IndexTemplateExistsRequestParameters, IIndexTemplateExistsRequest>
IndexTemplateExistsDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class IndexTemplateExistsDescriptor : RequestDescriptorBase<IndexTemplateExistsDescriptor, IndexTemplateExistsRequestParameters, IIndexTemplateExistsRequest>, IDescriptor, IIndexTemplateExistsRequest, IRequest<IndexTemplateExistsRequestParameters>, IRequest
Constructors
| Edit this page View SourceIndexTemplateExistsDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected IndexTemplateExistsDescriptor()
IndexTemplateExistsDescriptor(Names)
/_template/{name}
Declaration
public IndexTemplateExistsDescriptor(Names name)
Parameters
Type | Name | Description |
---|---|---|
Names | name | this parameter is required |
Methods
| Edit this page View SourceClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public IndexTemplateExistsDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
IndexTemplateExistsDescriptor |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
FlatSettings(bool?)
Return settings in flat format.
Declaration
public IndexTemplateExistsDescriptor FlatSettings(bool? flatsettings = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | flatsettings |
Returns
Type | Description |
---|---|
IndexTemplateExistsDescriptor |
Local(bool?)
Return local information, do not retrieve the state from cluster-manager node.
Declaration
public IndexTemplateExistsDescriptor Local(bool? local = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | local |
Returns
Type | Description |
---|---|
IndexTemplateExistsDescriptor |
MasterTimeout(Time)
Explicit operation timeout for connection to master node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use 'cluster_manager_timeout' instead.")]
public IndexTemplateExistsDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
IndexTemplateExistsDescriptor |