lib/elasticsearch/xpack/api/actions/searchable_snapshots/repository_stats.rb in elasticsearch-xpack-7.9.0 vs lib/elasticsearch/xpack/api/actions/searchable_snapshots/repository_stats.rb in elasticsearch-xpack-7.10.0.pre
- old
+ new
@@ -18,19 +18,19 @@
module Elasticsearch
module XPack
module API
module SearchableSnapshots
module Actions
- # Retrieve usage statistics about a snapshot repository.
+ # DEPRECATED: This API is replaced by the Repositories Metering API.
# This functionality is Experimental and may be changed or removed
# completely in a future release. Elastic will take a best effort approach
# to fix any issues, but experimental features are not subject to the
# support SLA of official GA features.
#
# @option arguments [String] :repository The repository for which to get the stats for
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/searchable-snapshots-repository-stats.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.10/searchable-snapshots-apis.html
#
def repository_stats(arguments = {})
raise ArgumentError, "Required argument 'repository' missing" unless arguments[:repository]
headers = arguments.delete(:headers) || {}