コード例 #1
0
 ///<summary>GET on /_rollup/data/{id}</summary>
 ///<param name = "id">The ID of the index to check rollup capabilities on, 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 Task <TResponse> GetCapabilitiesAsync <TResponse>(string id, GetRollupCapabilitiesRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync <TResponse>(GET, Url($"_rollup/data/{id:id}"), ctx, null, RequestParams(requestParameters));
コード例 #2
0
 ///<summary>GET on /_rollup/data/</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 GetCapabilities <TResponse>(GetRollupCapabilitiesRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, "_rollup/data/", null, RequestParams(requestParameters));
コード例 #3
0
 ///<summary>GET on /_rollup/data/{id}</summary>
 ///<param name = "id">The ID of the index to check rollup capabilities on, 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 GetCapabilities <TResponse>(string id, GetRollupCapabilitiesRequestParameters requestParameters = null)
     where TResponse : class, IElasticsearchResponse, new() => DoRequest <TResponse>(GET, Url($"_rollup/data/{id:id}"), null, RequestParams(requestParameters));
コード例 #4
0
 public Task <TResponse> GetCapabilitiesAsync <TResponse>(GetRollupCapabilitiesRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(GET, "_rollup/data/", ctx, null, RequestParams(requestParameters));