mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
HLRC: ML Delete job from calendar (#35713)
This commit is contained in:
parent
8892408edd
commit
d707838c02
9 changed files with 315 additions and 1 deletions
36
docs/java-rest/high-level/ml/delete-calendar-job.asciidoc
Normal file
36
docs/java-rest/high-level/ml/delete-calendar-job.asciidoc
Normal file
|
@ -0,0 +1,36 @@
|
|||
--
|
||||
:api: delete-calendar-job
|
||||
:request: DeleteCalendarJobRequest
|
||||
:response: PutCalendarResponse
|
||||
--
|
||||
[id="{upid}-{api}"]
|
||||
=== Delete Calendar Job API
|
||||
Removes {ml} jobs from an existing {ml} calendar.
|
||||
The API accepts a +{request}+ and responds
|
||||
with a +{response}+ object.
|
||||
|
||||
[id="{upid}-{api}-request"]
|
||||
==== Delete Calendar Job Request
|
||||
|
||||
A +{request}+ is constructed referencing a non-null
|
||||
calendar ID, and JobIDs which to remove from the calendar
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-request]
|
||||
--------------------------------------------------
|
||||
<1> The ID of the calendar from which to remove the jobs
|
||||
<2> The JobIds to remove from the calendar
|
||||
|
||||
[id="{upid}-{api}-response"]
|
||||
==== Delete Calendar Response
|
||||
|
||||
The returned +{response}+ contains the updated Calendar:
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-response]
|
||||
--------------------------------------------------
|
||||
<1> The updated Calendar with the jobs removed
|
||||
|
||||
include::../execution.asciidoc[]
|
|
@ -267,6 +267,7 @@ The Java High Level REST Client supports the following Machine Learning APIs:
|
|||
* <<{upid}-get-calendars>>
|
||||
* <<{upid}-put-calendar>>
|
||||
* <<{upid}-put-calendar-job>>
|
||||
* <<{upid}-delete-calendar-job>>
|
||||
* <<{upid}-delete-calendar>>
|
||||
* <<{upid}-put-filter>>
|
||||
* <<{upid}-get-filters>>
|
||||
|
@ -303,6 +304,7 @@ include::ml/get-categories.asciidoc[]
|
|||
include::ml/get-calendars.asciidoc[]
|
||||
include::ml/put-calendar.asciidoc[]
|
||||
include::ml/put-calendar-job.asciidoc[]
|
||||
include::ml/delete-calendar-job.asciidoc[]
|
||||
include::ml/delete-calendar.asciidoc[]
|
||||
include::ml/put-filter.asciidoc[]
|
||||
include::ml/get-model-snapshots.asciidoc[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue