/// <inheritdoc /> public Task <IStopRollupJobResponse> StopRollupJobAsync(IStopRollupJobRequest request, CancellationToken cancellationToken = default) => Dispatcher.DispatchAsync <IStopRollupJobRequest, StopRollupJobRequestParameters, StopRollupJobResponse, IStopRollupJobResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackRollupStopJobDispatchAsync <StopRollupJobResponse>(p, c) );
/// <inheritdoc /> public IStopRollupJobResponse StopRollupJob(IStopRollupJobRequest request) => Dispatcher.Dispatch <IStopRollupJobRequest, StopRollupJobRequestParameters, StopRollupJobResponse>( request, (p, d) => LowLevelDispatch.XpackRollupStopJobDispatch <StopRollupJobResponse>(p) );
/// <summary> /// <c>POST</c> request to the <c>rollup.stop_job</c> API, read more about this API online: /// <para></para> /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html</a> /// </summary> public Task <StopRollupJobResponse> StopJobAsync(IStopRollupJobRequest request, CancellationToken ct = default) => DoRequestAsync <IStopRollupJobRequest, StopRollupJobResponse>(request, request.RequestParameters, ct);
/// <summary> /// <c>POST</c> request to the <c>rollup.stop_job</c> API, read more about this API online: /// <para></para> /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html</a> /// </summary> public StopRollupJobResponse StopJob(IStopRollupJobRequest request) => DoRequest <IStopRollupJobRequest, StopRollupJobResponse>(request, request.RequestParameters);
public static Task <StopRollupJobResponse> StopRollupJobAsync(this IElasticClient client, IStopRollupJobRequest request, CancellationToken ct = default ) => client.Rollup.StopJobAsync(request, ct);
public static StopRollupJobResponse StopRollupJob(this IElasticClient client, IStopRollupJobRequest request) => client.Rollup.StopJob(request);