API generation

This commit is contained in:
delvedor
2020-02-25 10:26:24 +01:00
parent d621d31d39
commit 6261dd7909
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ function buildXpackUsage (opts) {
/**
* Perform a xpack.usage request
* Retrieve information about xpack features usage
* https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html
*/
return function xpackUsage (params, options, callback) {
options = options || {}

View File

@ -1480,7 +1480,7 @@ export interface EnrichExecutePolicy extends Generic {
}
export interface EnrichGetPolicy extends Generic {
name?: string;
name?: string | string[];
}
export interface EnrichPutPolicy<T = any> extends Generic {

View File

@ -5957,14 +5957,14 @@ _Default:_ `true`
[source,ts]
----
client.enrich.getPolicy({
name: string
name: string | string[]
})
----
link:{ref}/get-enrich-policy-api.html[Documentation] +
[cols=2*]
|===
|`name`
|`string` - The name of the enrich policy
|`string \| string[]` - A comma-separated list of enrich policy names
|===
@ -9186,7 +9186,7 @@ client.xpack.usage({
master_timeout: string
})
----
link:Retrieve information about xpack features usage[Documentation] +
link:{ref}/usage-api.html[Documentation] +
[cols=2*]
|===
|`master_timeout` or `masterTimeout`