elasticsearch-api/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb
def post_voting_config_exclusions(arguments = {})
          headers = arguments.delete(:headers) || {}

          body = nil

          arguments = arguments.clone

          method = Elasticsearch::API::HTTP_POST
          path   = "_cluster/voting_config_exclusions"
          params = Utils.process_params(arguments)

          perform_request(method, path, params, body, headers).body
        end
# Updates the cluster voting config exclusions by node ids or node names.
#
# @option arguments [String] :node_ids A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_names.
# @option arguments [String] :node_names A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_ids.
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html
#
Updates the cluster voting config exclusions by node ids or node names.
Updates the cluster voting config exclusions by node ids or node names .
def post_voting_config_exclusions(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          method = Elasticsearch::API::HTTP_POST
          path   = "_cluster/voting_config_exclusions"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def post_voting_config_exclusions ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone method = Elasticsearch :: API :: HTTP_POST path = "_cluster/voting_config_exclusions" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Updates the cluster voting config exclusions by node ids or node names.
Updates the cluster voting config exclusions by node ids or node names .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None