Sha256: 935a365f79d4ee0266c5384678e19f52183910b87d7f03971f8afeed4b804349

Contents?: true

Size: 547 Bytes

Versions: 10

Compression:

Stored size: 547 Bytes

Contents

module Elasticsearch
  module XPack
    module API
      module Watcher
        module Actions

          # Stop the Watcher service
          #
          #
          # @see http://www.elastic.co/guide/en/x-pack/current/watcher-api-stop.html
          #
          def stop(arguments={})
            method = Elasticsearch::API::HTTP_POST
            path   = "_xpack/watcher/_stop"
            params = {}
            body   = nil

            perform_request(method, path, params, body).body
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
elasticsearch-xpack-6.8.1 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-6.8.0 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-6.3.1 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-6.3.0 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-6.2.0 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-6.1.0 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-6.0.0 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-5.5.0 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-5.0.0 lib/elasticsearch/xpack/api/actions/watcher/stop.rb
elasticsearch-xpack-0.1.0.pre lib/elasticsearch/xpack/api/actions/watcher/stop.rb