API generation

This commit is contained in:
delvedor
2020-07-13 11:21:44 +02:00
parent 1a7968aba3
commit fa760f44b5
6 changed files with 126 additions and 8 deletions

View File

@ -2423,7 +2423,7 @@ client.indices.addBlock({
expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all'
})
----
link:{ref}/indices-blocks.html[Documentation] +
[cols=2*]
|===
|`index`
@ -2714,14 +2714,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
|===
@ -3109,14 +3109,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
|===
@ -3623,7 +3623,7 @@ client.indices.resolveIndex({
expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all'
})
----
link:{ref}/indices-resolve-index.html[Documentation] +
[cols=2*]
|===
|`name`
@ -8811,6 +8811,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]