elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/pause_follow.rb
# Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
#
# @option arguments [String] :index The name of the follower index that should pause following its leader index.
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html
#
Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
Pauses a follower index . The follower index will not fetch any additional operations from the leader index .
def pause_follow(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_POST
          path   = "#{Utils.__listify(_index)}/_ccr/pause_follow"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def pause_follow ( 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_POST path = "#{Utils.__listify(_index)}/_ccr/pause_follow" params = { } perform_request ( method , path , params , body , headers ) . body end
Pauses a follower index.
Pauses a follower index .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None