/// <inheritdoc />
 public Task <IDeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse, IDeletePipelineResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IngestDeletePipelineDispatchAsync <DeletePipelineResponse>(p, c)
     );
Esempio n. 2
0
 /// <summary>
 /// <c>DELETE</c> request to the <c>ingest.delete_pipeline</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html</a>
 /// </summary>
 public Task <DeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request, CancellationToken ct = default) => DoRequestAsync <IDeletePipelineRequest, DeletePipelineResponse>(request, request.RequestParameters, ct);
Esempio n. 3
0
 /// <summary>
 /// <c>DELETE</c> request to the <c>ingest.delete_pipeline</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html</a>
 /// </summary>
 public DeletePipelineResponse DeletePipeline(IDeletePipelineRequest request) => DoRequest <IDeletePipelineRequest, DeletePipelineResponse>(request, request.RequestParameters);
 /// <inheritdoc />
 public IDeletePipelineResponse DeletePipeline(IDeletePipelineRequest request) =>
 Dispatcher.Dispatch <IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse>(
     request,
     (p, d) => LowLevelDispatch.IngestDeletePipelineDispatch <DeletePipelineResponse>(p)
     );
		/// <inheritdoc/>
		public Task<IDeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse, IDeletePipelineResponse>(
				request,
				cancellationToken,
				(p, d, c) => this.LowLevelDispatch.IngestDeletePipelineDispatchAsync<DeletePipelineResponse>(p, c)
			);
		/// <inheritdoc/>
		public IDeletePipelineResponse DeletePipeline(IDeletePipelineRequest request) =>
			this.Dispatcher.Dispatch<IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse>(
				request,
				(p, d) => this.LowLevelDispatch.IngestDeletePipelineDispatch<DeletePipelineResponse>(p)
			);
Esempio n. 7
0
 public static Task <DeletePipelineResponse> DeletePipelineAsync(this IElasticClient client, IDeletePipelineRequest request,
                                                                 CancellationToken ct = default
                                                                 )
 => client.Ingest.DeletePipelineAsync(request, ct);
Esempio n. 8
0
 public static DeletePipelineResponse DeletePipeline(this IElasticClient client, IDeletePipelineRequest request)
 => client.Ingest.DeletePipeline(request);
Esempio n. 9
0
 /// <inheritdoc/>
 public Task <IDeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request) =>
 this.Dispatcher.DispatchAsync <IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse, IDeletePipelineResponse>(
     request,
     (p, d) => this.LowLevelDispatch.IngestDeletePipelineDispatchAsync <DeletePipelineResponse>(p)
     );