Method: Elasticsearch::API::IndexLifecycleManagement::Actions#stop
- Defined in:
- lib/elasticsearch/api/actions/index_lifecycle_management/stop.rb
#stop(arguments = {}) ⇒ Object
Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin
31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/elasticsearch/api/actions/index_lifecycle_management/stop.rb', line 31 def stop(arguments = {}) arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_POST path = "_ilm/stop" params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers) ) end |