[DOCS] Adds force parameter to Stop transforms API docs. (#46770)

This commit is contained in:
István Zoltán Szabó 2019-09-18 09:14:32 +02:00
parent ac4e990924
commit d931665f91
1 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,7 @@ Stops one or more {transforms}.
beta[] beta[]
[[stop-data-frame-transform-request]] [[stop-data-frame-transform-request]]
==== {api-request-title} ==== {api-request-title}
@ -21,6 +22,7 @@ beta[]
`POST _data_frame/transforms/_all/_stop` `POST _data_frame/transforms/_all/_stop`
[[stop-data-frame-transform-prereq]] [[stop-data-frame-transform-prereq]]
==== {api-prereq-title} ==== {api-prereq-title}
@ -30,6 +32,7 @@ beta[]
see {stack-ov}/security-privileges.html[Security privileges] and see {stack-ov}/security-privileges.html[Security privileges] and
{stack-ov}/built-in-roles.html[Built-in roles]. {stack-ov}/built-in-roles.html[Built-in roles].
[[stop-data-frame-transform-desc]] [[stop-data-frame-transform-desc]]
==== {api-description-title} ==== {api-description-title}
@ -38,6 +41,7 @@ comma-separated list of {transforms} or a wildcard expression.
All {transforms} can be stopped by using `_all` or `*` as the All {transforms} can be stopped by using `_all` or `*` as the
`<data_frame_transform_id>`. `<data_frame_transform_id>`.
[[stop-data-frame-transform-path-parms]] [[stop-data-frame-transform-path-parms]]
==== {api-path-parms-title} ==== {api-path-parms-title}
@ -46,6 +50,7 @@ All {transforms} can be stopped by using `_all` or `*` as the
can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and
underscores. It must start and end with alphanumeric characters. underscores. It must start and end with alphanumeric characters.
[[stop-data-frame-transform-query-parms]] [[stop-data-frame-transform-query-parms]]
==== {api-query-parms-title} ==== {api-query-parms-title}
@ -68,6 +73,11 @@ If this parameter is `false`, the request returns a `404` status code when there
are no matches or only partial matches. are no matches or only partial matches.
-- --
`force`::
(Optional, boolean) Set to `true` to stop a failed {transform} or to
forcefully stop a {transform} that did not respond to the initial stop
request.
`timeout`:: `timeout`::
(Optional, time value) If `wait_for_completion=true`, the API blocks for (at (Optional, time value) If `wait_for_completion=true`, the API blocks for (at
maximum) the specified duration while waiting for the {transform} to stop. If maximum) the specified duration while waiting for the {transform} to stop. If
@ -81,6 +91,7 @@ are no matches or only partial matches.
state completely stops. If set to `false`, the API returns immediately and the state completely stops. If set to `false`, the API returns immediately and the
indexer will be stopped asynchronously in the background. Defaults to `false`. indexer will be stopped asynchronously in the background. Defaults to `false`.
[[stop-data-frame-transform-response-codes]] [[stop-data-frame-transform-response-codes]]
==== {api-response-codes-title} ==== {api-response-codes-title}
@ -88,6 +99,7 @@ are no matches or only partial matches.
If `allow_no_match` is `false`, this code indicates that there are no If `allow_no_match` is `false`, this code indicates that there are no
resources that match the request or only partial matches for the request. resources that match the request or only partial matches for the request.
[[stop-data-frame-transform-example]] [[stop-data-frame-transform-example]]
==== {api-examples-title} ==== {api-examples-title}