Class ComponentTemplateExistsDescriptor
Descriptor for ComponentTemplateExists
https://opensearch.org/docs/latest
Inheritance
Implements
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public class ComponentTemplateExistsDescriptor : RequestDescriptorBase<ComponentTemplateExistsDescriptor, ComponentTemplateExistsRequestParameters, IComponentTemplateExistsRequest>, IDescriptor, IComponentTemplateExistsRequest, IRequest<ComponentTemplateExistsRequestParameters>, IRequest
Constructors
| Edit this page View SourceComponentTemplateExistsDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected ComponentTemplateExistsDescriptor()
ComponentTemplateExistsDescriptor(Name)
/_component_template/{name}
Declaration
public ComponentTemplateExistsDescriptor(Name name)
Parameters
Type | Name | Description |
---|---|---|
Name | name | this parameter is required |
Methods
| Edit this page View SourceClusterManagerTimeout(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 ComponentTemplateExistsDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
Component |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
Local(bool?)
When true
, the request retrieves information from the local node only. When `false, information is retrieved from the cluster manager node.
Declaration
public ComponentTemplateExistsDescriptor Local(bool? local = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | local |
Returns
Type | Description |
---|---|
Component |
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 ComponentTemplateExistsDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
Component |