API generation
This commit is contained in:
@ -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 || {}
|
||||
|
||||
2
api/requestParams.d.ts
vendored
2
api/requestParams.d.ts
vendored
@ -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 {
|
||||
|
||||
@ -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`
|
||||
|
||||
Reference in New Issue
Block a user