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