Exemplo n.º 1
0
 public Task <TResponse> PutPipelineAsync <TResponse>(string id, PostData body, PutPipelineRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(PUT, Url($"_ingest/pipeline/{id:id}"), ctx, body, RequestParams(requestParameters));
Exemplo n.º 2
0
 ///<summary>PUT on /_ingest/pipeline/{id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html</para></summary>
 ///<param name = "id">Pipeline ID</param>
 ///<param name = "body">The ingest definition</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse PutPipeline <TResponse>(string id, PostData body, PutPipelineRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(PUT, Url($"_ingest/pipeline/{id:id}"), body, RequestParams(requestParameters));
Exemplo n.º 3
0
 ///<summary>PUT on /_logstash/pipeline/{id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html</para></summary>
 ///<param name = "id">The ID of the Pipeline</param>
 ///<param name = "body">The Pipeline to add or update</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse PutPipeline <TResponse>(string id, PostData body, PutPipelineRequestParameters requestParameters = null)
     where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(PUT, Url($"_logstash/pipeline/{id:id}"), body, RequestParams(requestParameters));