Class DeleteComponentTemplateDescriptor
Descriptor for DeleteComponentTemplate
https://opensearch.org/docs/latest
Inheritance
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)
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 DeleteComponentTemplateDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
Delete |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
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 DeleteComponentTemplateDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
Delete |
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 DeleteComponentTemplateDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
Delete |