[DOCS] Adds placeholder for start and stop data frame transform APIs (#40278)
This commit is contained in:
parent
caa0129d44
commit
e6799849d1
|
@ -10,9 +10,9 @@
|
|||
* <<preview-data-frame-transform,Preview {dataframe-transforms}>>
|
||||
* <<put-data-frame-transform,Create {dataframe-transforms}>>,
|
||||
<<delete-data-frame-transform,delete {dataframe-transforms}>>
|
||||
* <<preview-data-frame-transform,Preview {dataframe-transforms}>>
|
||||
* <<get-data-frame-transform,Get {dataframe-transform} info>>,
|
||||
<<get-data-frame-transform-stats,Get {dataframe-transform} statistics>>
|
||||
* <<start-data-frame-transform,Start {dataframe-transforms}>>, <<stop-data-frame-transform,Stop {dataframe-transforms}>>
|
||||
|
||||
//CREATE
|
||||
include::put-transform.asciidoc[]
|
||||
|
@ -22,4 +22,8 @@ include::delete-transform.asciidoc[]
|
|||
include::get-transform.asciidoc[]
|
||||
include::get-transform-stats.asciidoc[]
|
||||
//PREVIEW
|
||||
include::preview-data-frame-transform.asciidoc[]
|
||||
include::preview-transform.asciidoc[]
|
||||
//START
|
||||
include::start-transform.asciidoc[]
|
||||
//STOP
|
||||
include::stop-transform.asciidoc[]
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
[role="xpack"]
|
||||
[testenv="basic"]
|
||||
[[start-data-frame-transform]]
|
||||
=== Start {dataframe-transforms} API
|
||||
++++
|
||||
<titleabbrev>Start {dataframe-transforms}</titleabbrev>
|
||||
++++
|
||||
|
||||
Starts one or more {dataframe-transforms}.
|
||||
|
||||
==== Request
|
||||
|
||||
`POST _data_frame/transforms/<data_frame_transform_id>/_start`
|
||||
|
||||
//==== Description
|
||||
|
||||
==== Path Parameters
|
||||
|
||||
`data_frame_transform_id` (required)::
|
||||
(string) Identifier for the {dataframe-transform}. This identifier can contain
|
||||
lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It
|
||||
must start and end with alphanumeric characters.
|
||||
|
||||
//==== Request Body
|
||||
//==== Authorization
|
||||
|
||||
==== Examples
|
||||
|
||||
The following example starts the `ecommerce_transform` {dataframe-transform}:
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
POST _data_frame/transforms/ecommerce_transform/_start
|
||||
--------------------------------------------------
|
||||
// CONSOLE
|
||||
// TEST[skip:set up kibana samples]
|
||||
|
||||
When the {dataframe-transform} starts, you receive the following results:
|
||||
[source,js]
|
||||
----
|
||||
{
|
||||
"started" : true
|
||||
}
|
||||
----
|
||||
// TESTRESPONSE
|
|
@ -0,0 +1,57 @@
|
|||
[role="xpack"]
|
||||
[testenv="basic"]
|
||||
[[stop-data-frame-transform]]
|
||||
=== Stop {dataframe-transforms} API
|
||||
++++
|
||||
<titleabbrev>Stop {dataframe-transforms}</titleabbrev>
|
||||
++++
|
||||
|
||||
Stops one or more {dataframe-transforms}.
|
||||
|
||||
==== Request
|
||||
|
||||
`POST _data_frame/transforms/<data_frame_transform_id>/_stop`
|
||||
|
||||
//==== Description
|
||||
|
||||
==== Path Parameters
|
||||
|
||||
`data_frame_transform_id` (required)::
|
||||
(string) Identifier for the {dataframe-transform}. This identifier can contain
|
||||
lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It
|
||||
must start and end with alphanumeric characters.
|
||||
|
||||
==== Query Parameters
|
||||
|
||||
`wait_for_completion`::
|
||||
(boolean) If set to true, causes the API to block until the indexer state completely stops. If set to false, the API returns immediately and the indexer will be stopped asynchronously in the background. Defaults to `false`.
|
||||
|
||||
`timeout`::
|
||||
(time value) If `wait_for_completion=true`, the API blocks for (at maximum)
|
||||
the specified duration while waiting for the job to stop. If more than
|
||||
`timeout` time has passed, the API throws a timeout exception. Even if a
|
||||
timeout exception is thrown, the stop request is still processing and
|
||||
eventually moves the job to `STOPPED`. The timeout simply means the API call itself timed out while waiting for the status change. Defaults to `30s`
|
||||
|
||||
//==== Request Body
|
||||
//==== Authorization
|
||||
|
||||
==== Examples
|
||||
|
||||
The following example stops the `ecommerce_transform` {dataframe-transform}:
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
POST _data_frame/transforms/ecommerce_transform/_stop
|
||||
--------------------------------------------------
|
||||
// CONSOLE
|
||||
// TEST[skip:set up kibana samples]
|
||||
|
||||
When the {dataframe-transform} stops, you receive the following results:
|
||||
[source,js]
|
||||
----
|
||||
{
|
||||
"stopped" : true
|
||||
}
|
||||
----
|
||||
// TESTRESPONSE
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"data_frame.start_data_frame_transform": {
|
||||
"documentation": "TODO",
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-data-frame-transform.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_data_frame/transforms/{transform_id}/_start",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"data_frame.stop_data_frame_transform": {
|
||||
"documentation": "TODO",
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-data-frame-transform.html",
|
||||
"methods": [ "POST" ],
|
||||
"url": {
|
||||
"path": "/_data_frame/transforms/{transform_id}/_stop",
|
||||
|
|
Loading…
Reference in New Issue