Class DeleteIndexTemplateDescriptor
Descriptor for DeleteTemplate
https://opensearch.org/docs/latest
Inheritance
RequestDescriptorBase<DeleteIndexTemplateDescriptor, DeleteIndexTemplateRequestParameters, IDeleteIndexTemplateRequest>
DeleteIndexTemplateDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DeleteIndexTemplateDescriptor : RequestDescriptorBase<DeleteIndexTemplateDescriptor, DeleteIndexTemplateRequestParameters, IDeleteIndexTemplateRequest>, IDescriptor, IDeleteIndexTemplateRequest, IRequest<DeleteIndexTemplateRequestParameters>, IRequest
Constructors
| Edit this page View SourceDeleteIndexTemplateDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected DeleteIndexTemplateDescriptor()
DeleteIndexTemplateDescriptor(Name)
/_template/{name}
Declaration
public DeleteIndexTemplateDescriptor(Name name)
Parameters
Type | Name | Description |
---|---|---|
Name | name | this parameter is required |
Methods
| Edit this page View SourceClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public DeleteIndexTemplateDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
DeleteIndexTemplateDescriptor |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout(Time)
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use 'cluster_manager_timeout' instead.")]
public DeleteIndexTemplateDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
DeleteIndexTemplateDescriptor |
Timeout(Time)
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Declaration
public DeleteIndexTemplateDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
DeleteIndexTemplateDescriptor |