72 lines
4.3 KiB
Plaintext
72 lines
4.3 KiB
Plaintext
[[reference-nodes-get_repositories_metering_info]]
|
||
|
||
////////
|
||
===========================================================================================================================
|
||
|| ||
|
||
|| ||
|
||
|| ||
|
||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||
|| ||
|
||
|| ||
|
||
|| 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.nodes.getRepositoriesMeteringInfo]]
|
||
=== client.nodes.getRepositoriesMeteringInfo
|
||
|
||
You can use the cluster repositories metering API to retrieve repositories metering information in a cluster. This API exposes monotonically non-decreasing counters and it’s expected that clients would durably store the information needed to compute aggregations over a period of time. Additionally, the information exposed by this API is volatile, meaning that it won’t be present after node restarts.
|
||
|
||
{ref}/get-repositories-metering-api.html[{es} documentation]
|
||
|
||
[discrete]
|
||
==== Function signature
|
||
|
||
[source,ts]
|
||
----
|
||
(NodesGetRepositoriesMeteringInfoRequest, options?): Promise<NodesGetRepositoriesMeteringInfoResponse>
|
||
----
|
||
|
||
[discrete]
|
||
==== Request
|
||
|
||
[pass]
|
||
++++
|
||
<pre>
|
||
++++
|
||
interface NodesGetRepositoriesMeteringInfoRequest extends <<RequestBase>> {
|
||
node_id: <<NodeIds>>
|
||
}
|
||
|
||
[pass]
|
||
++++
|
||
</pre>
|
||
++++
|
||
[discrete]
|
||
==== Response
|
||
|
||
[pass]
|
||
++++
|
||
<pre>
|
||
++++
|
||
type NodesGetRepositoriesMeteringInfoResponse = NodesGetRepositoriesMeteringInfoResponseBase
|
||
|
||
[pass]
|
||
++++
|
||
</pre>
|
||
++++
|