Files
elasticsearch-js/docs/reference-ml-stop_datafeed.asciidoc
2024-12-05 14:46:52 -06:00

77 lines
4.0 KiB
Plaintext

[[reference-ml-stop_datafeed]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
[[client.ml.stopDatafeed]]
=== client.ml.stopDatafeed
Stop datafeeds. A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped multiple times throughout its lifecycle.
{ref}/ml-stop-datafeed.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(MlStopDatafeedRequest, options?): Promise<MlStopDatafeedResponse>
----
[discrete]
==== Request
[pass]
++++
<pre>
++++
interface MlStopDatafeedRequest extends <<RequestBase>> {
datafeed_id: <<Id>>
allow_no_match?: boolean
force?: boolean
timeout?: <<Duration>>
}
[pass]
++++
</pre>
++++
[discrete]
==== Response
[pass]
++++
<pre>
++++
interface MlStopDatafeedResponse {
stopped: boolean
}
[pass]
++++
</pre>
++++