Class GetComponentTemplateRequest
Request for GetComponentTemplate
https://opensearch.org/docs/latest
Inheritance
GetComponentTemplateRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class GetComponentTemplateRequest : PlainRequestBase<GetComponentTemplateRequestParameters>, IGetComponentTemplateRequest, IRequest<GetComponentTemplateRequestParameters>, IRequest
Constructors
| Edit this page View SourceGetComponentTemplateRequest()
/_component_template
Declaration
public GetComponentTemplateRequest()
GetComponentTemplateRequest(Name)
/_component_template/{name}
Declaration
public GetComponentTemplateRequest(Name name)
Parameters
Type | Name | Description |
---|---|---|
Name | name | Optional, accepts null |
Properties
| Edit this page View SourceClusterManagerTimeout
Operation timeout for connection to cluster-manager node.
Declaration
public Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
Local
If true
, the request retrieves information from the local node only. If false
, information is retrieved from the cluster-manager node.
Declaration
public bool? Local { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MasterTimeout
Period to wait for a connection to the cluster-manager 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 Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Self
Declaration
protected IGetComponentTemplateRequest Self { get; }
Property Value
Type | Description |
---|---|
IGetComponentTemplateRequest |