Class PutIndexTemplateRequestParameters
Request options for PutTemplate
https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/
Inheritance
PutIndexTemplateRequestParameters
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.IndicesApi
Assembly: OpenSearch.Net.dll
Syntax
public class PutIndexTemplateRequestParameters : RequestParameters<PutIndexTemplateRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceClusterManagerTimeout
Specify timeout for connection to cluster_manager node
Declaration
public TimeSpan ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Remarks
Introduced in OpenSearch 2.0 instead of MasterTimeout
Create
Whether the index template should only be added if new or can also replace an existing one
Declaration
public bool? Create { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourceIncludeTypeName
Whether a type should be returned in the body of the mappings.
Declaration
public bool? IncludeTypeName { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
Deprecated as of OpenSearch 2.0
MasterTimeout
Specify timeout for connection to master node
Declaration
public TimeSpan MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Remarks
Deprecated as of OpenSearch 2.0, use ClusterManagerTimeout instead
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |