コード例 #1
0
 ///<summary>GET on /_rollup/job/</summary>
 ///<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> GetJobAsync <TResponse>(GetRollupJobRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(GET, "_rollup/job/", ctx, null, RequestParams(requestParameters));
コード例 #2
0
 ///<summary>GET on /_rollup/job/{id}</summary>
 ///<param name = "id">The ID of the job(s) to fetch. Accepts glob patterns, or left blank for all jobs</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 GetJob <TResponse>(string id, GetRollupJobRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, Url($"_rollup/job/{id:id}"), null, RequestParams(requestParameters));
コード例 #3
0
 ///<summary>GET on /_rollup/job/</summary>
 ///<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 GetJob <TResponse>(GetRollupJobRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, "_rollup/job/", null, RequestParams(requestParameters));
コード例 #4
0
 public Task <TResponse> GetJobAsync <TResponse>(string id, GetRollupJobRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(GET, Url($"_rollup/job/{id:id}"), ctx, null, RequestParams(requestParameters));