Class PutPipelineDescriptor
Descriptor for PutPipeline
https://opensearch.org/docs/latest/api-reference/ingest-apis/create-update-ingest/
Inheritance
PutPipelineDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class PutPipelineDescriptor : RequestDescriptorBase<PutPipelineDescriptor, PutPipelineRequestParameters, IPutPipelineRequest>, IDescriptor, IPutPipelineRequest, IPipeline, IRequest<PutPipelineRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
PutPipelineDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected PutPipelineDescriptor()
|
Edit this page
View Source
PutPipelineDescriptor(Id)
Declaration
public PutPipelineDescriptor(Id id)
Parameters
Type |
Name |
Description |
Id |
id |
this parameter is required
|
Methods
|
Edit this page
View Source
ClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public PutPipelineDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type |
Name |
Description |
Time |
clustermanagertimeout |
|
Returns
|
Edit this page
View Source
Description(string)
Declaration
public PutPipelineDescriptor Description(string description)
Parameters
Type |
Name |
Description |
string |
description |
|
Returns
|
Edit this page
View Source
MasterTimeout(Time)
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 PutPipelineDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type |
Name |
Description |
Time |
mastertimeout |
|
Returns
|
Edit this page
View Source
OnFailure(IEnumerable<IProcessor>)
Declaration
public PutPipelineDescriptor OnFailure(IEnumerable<IProcessor> processors)
Parameters
Returns
|
Edit this page
View Source
OnFailure(Func<ProcessorsDescriptor, IPromise<IList<IProcessor>>>)
Declaration
public PutPipelineDescriptor OnFailure(Func<ProcessorsDescriptor, IPromise<IList<IProcessor>>> selector)
Parameters
Returns
|
Edit this page
View Source
Processors(IEnumerable<IProcessor>)
Declaration
public PutPipelineDescriptor Processors(IEnumerable<IProcessor> processors)
Parameters
Returns
|
Edit this page
View Source
Processors(Func<ProcessorsDescriptor, IPromise<IList<IProcessor>>>)
Declaration
public PutPipelineDescriptor Processors(Func<ProcessorsDescriptor, IPromise<IList<IProcessor>>> selector)
Parameters
Returns
|
Edit this page
View Source
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 PutPipelineDescriptor Timeout(Time timeout)
Parameters
Type |
Name |
Description |
Time |
timeout |
|
Returns
Implements
Extension Methods