API generation

This commit is contained in:
delvedor
2020-07-13 14:45:19 +02:00
parent d73cb1a29b
commit 581b0f3a35
6 changed files with 124 additions and 1105 deletions

View File

@ -2768,14 +2768,14 @@ link:{ref}/indices-aliases.html[Documentation] +
[source,ts]
----
client.indices.deleteDataStream({
name: string
name: string | string[]
})
----
link:{ref}/data-streams.html[Documentation] +
[cols=2*]
|===
|`name`
|`string` - The name of the data stream
|`string \| string[]` - A comma-separated list of data streams to delete; use `*` to delete all data streams
|===
@ -3196,14 +3196,14 @@ _Default:_ `all`
[source,ts]
----
client.indices.getDataStream({
name: string
name: string | string[]
})
----
link:{ref}/data-streams.html[Documentation] +
[cols=2*]
|===
|`name`
|`string` - The name or wildcard expression of the requested data streams
|`string \| string[]` - A comma-separated list of data streams to get; use `*` to get all data streams
|===
@ -8802,6 +8802,26 @@ link:{ref}/ml-stop-datafeed.html[Documentation] +
|===
=== ml.updateDataFrameAnalytics
*Stability:* experimental
[source,ts]
----
client.ml.updateDataFrameAnalytics({
id: string,
body: object
})
----
link:{ref}/update-dfanalytics.html[Documentation] +
[cols=2*]
|===
|`id`
|`string` - The ID of the data frame analytics to update
|`body`
|`object` - The data frame analytics settings to update
|===
=== ml.updateDatafeed
[source,ts]