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

72 lines
4.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[[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 its 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 wont be present after node restarts.
{ref}/get-repositories-metering-api.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(NodesGetRepositoriesMeteringInfoRequest, options?): Promise<NodesGetRepositoriesMeteringInfoResponse>
----
[discrete]
==== NodesGetRepositoriesMeteringInfoRequest
[pass]
++++
<pre>
++++
interface NodesGetRepositoriesMeteringInfoRequest extends <<RequestBase>> {
node_id: <<NodeIds>>
}
[pass]
++++
</pre>
++++
[discrete]
==== NodesGetRepositoriesMeteringInfoResponse
[pass]
++++
<pre>
++++
type NodesGetRepositoriesMeteringInfoResponse = NodesGetRepositoriesMeteringInfoResponseBase
[pass]
++++
</pre>
++++