elasticsearch-api/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb
# Clears cluster voting config exclusions.
#
# @option arguments [Boolean] :wait_for_removal Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list.
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html
#
Clears cluster voting config exclusions.
Clears cluster voting config exclusions .
def delete_voting_config_exclusions(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          method = Elasticsearch::API::HTTP_DELETE
          path   = "_cluster/voting_config_exclusions"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def delete_voting_config_exclusions ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone method = Elasticsearch :: API :: HTTP_DELETE path = "_cluster/voting_config_exclusions" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Clears cluster voting config exclusions.
Clears cluster voting config exclusions .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None