Class DeleteComponentTemplateDescriptor
Descriptor for DeleteComponentTemplate
https://opensearch.org/docs/latest
Inheritance
RequestDescriptorBase<DeleteComponentTemplateDescriptor, DeleteComponentTemplateRequestParameters, IDeleteComponentTemplateRequest>
DeleteComponentTemplateDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DeleteComponentTemplateDescriptor : RequestDescriptorBase<DeleteComponentTemplateDescriptor, DeleteComponentTemplateRequestParameters, IDeleteComponentTemplateRequest>, IDescriptor, IDeleteComponentTemplateRequest, IRequest<DeleteComponentTemplateRequestParameters>, IRequest
Constructors
| Edit this page View SourceDeleteComponentTemplateDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected DeleteComponentTemplateDescriptor()
DeleteComponentTemplateDescriptor(Name)
/_component_template/{name}
Declaration
public DeleteComponentTemplateDescriptor(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 DeleteComponentTemplateDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
DeleteComponentTemplateDescriptor |
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 DeleteComponentTemplateDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
DeleteComponentTemplateDescriptor |
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 DeleteComponentTemplateDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
DeleteComponentTemplateDescriptor |