Sha256: c8c6f3f4a881ec3ef1009b0113f17f1c8e775b7a5a5bd68d9e7f106b81e65a1c

Contents?: true

Size: 666 Bytes

Versions: 6

Compression:

Stored size: 666 Bytes

Contents

module Elasticsearch
  module XPack
    module API
      module Rollup
        module Actions

          # TODO: Description
          #
          # @option arguments [String] :id The ID of the job to delete (*Required*)
          #
          # @see
          #
          def delete_job(arguments={})
            raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
            method = Elasticsearch::API::HTTP_DELETE
            path   = "_xpack/rollup/job/#{arguments[:id]}"
            params = {}
            body   = nil

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
elasticsearch-xpack-6.8.1 lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb
elasticsearch-xpack-6.8.0 lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb
elasticsearch-xpack-6.3.1 lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb
elasticsearch-xpack-6.3.0 lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb
elasticsearch-xpack-6.2.0 lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb
elasticsearch-xpack-6.1.0 lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb