2019-03-19 09:30:01 -04:00
|
|
|
--
|
2019-09-20 18:57:43 -04:00
|
|
|
:api: stop-transform
|
2019-09-25 01:38:17 -04:00
|
|
|
:request: StopTransformRequest
|
|
|
|
:response: StopTransformResponse
|
2019-03-19 09:30:01 -04:00
|
|
|
--
|
2019-09-11 14:21:45 -04:00
|
|
|
[role="xpack"]
|
2019-03-19 09:30:01 -04:00
|
|
|
[id="{upid}-{api}"]
|
2019-09-16 11:28:19 -04:00
|
|
|
=== Stop {transform} API
|
2019-03-19 09:30:01 -04:00
|
|
|
|
2019-09-16 11:28:19 -04:00
|
|
|
Stops a started {transform}.
|
2019-03-19 09:30:01 -04:00
|
|
|
It accepts a +{request}+ object and responds with a +{response}+ object.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-09-16 11:28:19 -04:00
|
|
|
==== Stop {transform} request
|
2019-03-19 09:30:01 -04:00
|
|
|
|
2019-07-25 13:08:38 -04:00
|
|
|
A +{request}+ object requires a non-null `id`. `id` can be a comma separated
|
|
|
|
list of IDs or a single ID. Wildcards, `*` and `_all` are also accepted.
|
2019-04-15 09:33:16 -04:00
|
|
|
|
2019-03-19 09:30:01 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
---------------------------------------------------
|
2019-10-01 02:04:06 -04:00
|
|
|
<1> Constructing a new stop request referencing an existing {transform}.
|
2019-03-19 09:30:01 -04:00
|
|
|
|
2019-07-25 13:08:38 -04:00
|
|
|
==== Optional arguments
|
2019-03-19 09:30:01 -04:00
|
|
|
|
|
|
|
The following arguments are optional.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request-options]
|
|
|
|
--------------------------------------------------
|
2019-10-01 02:04:06 -04:00
|
|
|
<1> If true wait for the {transform} task to stop before responding.
|
2019-09-16 11:28:19 -04:00
|
|
|
<2> Controls the amount of time to wait until the {transform} stops.
|
|
|
|
<3> Whether to ignore if a wildcard expression matches no {transforms}.
|
2019-03-19 09:30:01 -04:00
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
==== Response
|
|
|
|
|
2019-09-25 01:38:17 -04:00
|
|
|
The returned +{response}+ object acknowledges the {transform} has stopped.
|