Пример #1
0
 ///<summary>POST on /_rollup/job/{id}/_start</summary>
 ///<param name = "id">The ID of the job to start</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 ///<remarks>Note: Experimental within the Elasticsearch server, this functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.</remarks>
 public Task <TResponse> StartJobAsync <TResponse>(string id, StartRollupJobRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(POST, Url($"_rollup/job/{id:id}/_start"), ctx, null, RequestParams(requestParameters));
Пример #2
0
 ///<summary>POST on /_rollup/job/{id}/_start</summary>
 ///<param name = "id">The ID of the job to start</param>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 ///<remarks>Note: Experimental within the Elasticsearch server, this functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.</remarks>
 public TResponse StartJob <TResponse>(string id, StartRollupJobRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(POST, Url($"_rollup/job/{id:id}/_start"), null, RequestParams(requestParameters));