elasticsearch-api/lib/elasticsearch/api/actions/fleet/global_checkpoints.rb
def global_checkpoints(arguments = {})
          raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]

          headers = arguments.delete(:headers) || {}

          body = nil

          arguments = arguments.clone

          _index = arguments.delete(:index)

          method = Elasticsearch::API::HTTP_GET
          path   = "#{Utils.__listify(_index)}/_fleet/global_checkpoints"
          params = Utils.process_params(arguments)

          perform_request(method, path, params, body, headers).body
        end
# Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
#
# @option arguments [String] :index The name of the index.
# @option arguments [Boolean] :wait_for_advance Whether to wait for the global checkpoint to advance past the specified current checkpoints
# @option arguments [Boolean] :wait_for_index Whether to wait for the target index to exist and all primary shards be active
# @option arguments [List] :checkpoints Comma separated list of checkpoints
# @option arguments [Time] :timeout Timeout to wait for global checkpoint to advance
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html
#
Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
Returns the current global checkpoints for an index . This API is design for internal use by the fleet server project .
def global_checkpoints(arguments = {})
          raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _index = arguments.delete(:index)
          method = Elasticsearch::API::HTTP_GET
          path   = "#{Utils.__listify(_index)}/_fleet/global_checkpoints"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def global_checkpoints ( arguments = { } ) raise ArgumentError , "Required argument 'index' missing" unless arguments [ :index ] headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _index = arguments . delete ( :index ) method = Elasticsearch :: API :: HTTP_GET path = "#{Utils.__listify(_index)}/_fleet/global_checkpoints" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Returns the current global checkpoints for an index.
Returns the current global checkpoints for an index .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None