You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Machine Learning filter APIs and detector custom rules (#3632)
* Add ML filters APIs
This commit adds the Put, Get, Update and Delete filters APIs,
required for working with ML detector custom rules
* Add ML detector custom rules
This commit adds custom rules to machine learning
detectors. The name of types used closely follows those
used in Elasticsearch source.
* Remove "integer" from API generator
"integer" is no longer a type used within the spec
Relates: #3615
///<summary>Request options for MlDeleteForecast<pre>http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html</pre></summary>
@@ -2431,6 +2436,15 @@ public class GetDatafeedStatsRequestParameters : RequestParameters<GetDatafeedSt
2431
2436
///<summary>Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)</summary>
///<summary>Request options for MlGetInfluencers<pre>http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html</pre></summary>
///<summary>DELETE on /_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id} <para>http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html</para></summary>
2848
2858
///<param name="job_id">The ID of the job from which to delete forecasts</param>
2849
2859
///<param name="forecast_id">The ID of the forecast to delete, can be comma delimited list or `_all`</param>
@@ -3082,6 +3092,24 @@ public TResponse MlGetDatafeedStats<TResponse>(GetDatafeedStatsRequestParameters
3082
3092
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
3083
3093
public Task<TResponse> MlGetDatafeedStatsAsync<TResponse>(GetDatafeedStatsRequestParameters requestParameters = null, CancellationToken ctx = default(CancellationToken))
///<summary>GET on /_ml/anomaly_detectors/{job_id}/results/influencers <para>http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html</para></summary>
3086
3114
///<param name="job_id"></param>
3087
3115
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
@@ -3320,6 +3348,18 @@ public TResponse MlPutDatafeed<TResponse>(string datafeed_id, PostData body, Put
3320
3348
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
///<summary>PUT on /_ml/anomaly_detectors/{job_id} <para>http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html</para></summary>
3324
3364
///<param name="job_id">The ID of the job to create</param>
3325
3365
///<param name="body">The job</param>
@@ -3380,6 +3420,18 @@ public TResponse MlUpdateDatafeed<TResponse>(string datafeed_id, PostData body,
3380
3420
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
///<summary>POST on /_ml/anomaly_detectors/{job_id}/_update <para>http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html</para></summary>
3384
3436
///<param name="job_id">The ID of the job to create</param>
0 commit comments