Files
elasticsearch-js/docs/reference-rollup-get_rollup_caps.asciidoc
2024-12-05 14:46:52 -06:00

72 lines
3.9 KiB
Plaintext

[[reference-rollup-get_rollup_caps]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
[[client.rollup.getRollupCaps]]
=== client.rollup.getRollupCaps
Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.
{ref}/rollup-get-rollup-caps.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(RollupGetRollupCapsRequest, options?): Promise<RollupGetRollupCapsResponse>
----
[discrete]
==== Request
[pass]
++++
<pre>
++++
interface RollupGetRollupCapsRequest extends <<RequestBase>> {
id?: <<Id>>
}
[pass]
++++
</pre>
++++
[discrete]
==== Response
[pass]
++++
<pre>
++++
type RollupGetRollupCapsResponse = Record<<<IndexName>>, RollupGetRollupCapsRollupCapabilities>
[pass]
++++
</pre>
++++