mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
[ML] Implement force deleting a data frame analytics job (#50553)
Adds a `force` parameter to the delete data frame analytics request. When `force` is `true`, the action force-stops the jobs and then proceeds to the deletion. This can be used in order to delete a non-stopped job with a single request. Closes #48124
This commit is contained in:
parent
32730cfdc5
commit
af0ce426cc
12 changed files with 130 additions and 36 deletions
|
@ -21,6 +21,17 @@ include-tagged::{doc-tests-file}[{api}-request]
|
|||
---------------------------------------------------
|
||||
<1> Constructing a new request referencing an existing {dfanalytics-job}.
|
||||
|
||||
==== Optional arguments
|
||||
|
||||
The following arguments are optional:
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
---------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-request-force]
|
||||
---------------------------------------------------
|
||||
<1> Use to forcefully delete a job that is not stopped. This method is quicker than stopping
|
||||
and deleting the job. Defaults to `false`.
|
||||
|
||||
include::../execution.asciidoc[]
|
||||
|
||||
[id="{upid}-{api}-response"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue