stop-datafeed.asciidoc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --
  2. :api: stop-datafeed
  3. :request: StopDatafeedRequest
  4. :response: StopDatafeedResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Stop Datafeed API
  8. The Stop Datafeed API provides the ability to stop a {ml} datafeed in the cluster.
  9. It accepts a +{request}+ object and responds
  10. with a +{response}+ object.
  11. [id="{upid}-{api}-request"]
  12. ==== Stop Datafeed Request
  13. A +{request}+ object is created referencing any number of non-null `datafeedId` entries.
  14. Wildcards and `_all` are also accepted.
  15. All other fields are optional for the request.
  16. ["source","java",subs="attributes,callouts,macros"]
  17. --------------------------------------------------
  18. include-tagged::{doc-tests-file}[{api}-request]
  19. --------------------------------------------------
  20. <1> Constructing a new request referencing existing `datafeedId` entries.
  21. ==== Optional Arguments
  22. The following arguments are optional.
  23. ["source","java",subs="attributes,callouts,macros"]
  24. --------------------------------------------------
  25. include-tagged::{doc-tests-file}[{api}-request-options]
  26. --------------------------------------------------
  27. <1> Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string)
  28. <2> If true, the datafeed is stopped forcefully.
  29. <3> Controls the amount of time to wait until a datafeed stops. The default value is 20 seconds.
  30. include::../execution.asciidoc[]