2018-10-05 11:45:46 -04:00
|
|
|
--
|
|
|
|
:api: stop-datafeed
|
|
|
|
:request: StopDatafeedRequest
|
|
|
|
:response: StopDatafeedResponse
|
|
|
|
--
|
|
|
|
[id="{upid}-{api}"]
|
2018-09-21 15:13:35 -04:00
|
|
|
=== Stop Datafeed API
|
|
|
|
|
|
|
|
The Stop Datafeed API provides the ability to stop a {ml} datafeed in the cluster.
|
2018-10-05 11:45:46 -04:00
|
|
|
It accepts a +{request}+ object and responds
|
|
|
|
with a +{response}+ object.
|
2018-09-21 15:13:35 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}-request"]
|
2018-09-21 15:13:35 -04:00
|
|
|
==== Stop Datafeed Request
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
A +{request}+ object is created referencing any number of non-null `datafeedId` entries.
|
2018-09-21 15:13:35 -04:00
|
|
|
Wildcards and `_all` are also accepted.
|
|
|
|
All other fields are optional for the request.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
2018-09-21 15:13:35 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Constructing a new request referencing existing `datafeedId` entries.
|
|
|
|
|
|
|
|
==== Optional Arguments
|
|
|
|
|
|
|
|
The following arguments are optional.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request-options]
|
2018-09-21 15:13:35 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string)
|
|
|
|
<2> If true, the datafeed is stopped forcefully.
|
|
|
|
<3> Controls the amount of time to wait until a datafeed stops. The default value is 20 seconds.
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
include::../execution.asciidoc[]
|