Sha256: 820c69c3d3d9d8980a0689f30106eef0677bf7320a9b59d3c7424dc996707338

Contents?: true

Size: 669 Bytes

Versions: 6

Compression:

Stored size: 669 Bytes

Contents

module Elasticsearch
  module XPack
    module API
      module Rollup
        module Actions

          # TODO: Description
          #
          # @option arguments [String] :id The ID of the job to start (*Required*)
          #
          # @see
          #
          def start_job(arguments={})
            raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
            method = Elasticsearch::API::HTTP_POST
            path   = "_xpack/rollup/job/#{arguments[:id]}/_start"
            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/start_job.rb
elasticsearch-xpack-6.8.0 lib/elasticsearch/xpack/api/actions/rollup/start_job.rb
elasticsearch-xpack-6.3.1 lib/elasticsearch/xpack/api/actions/rollup/start_job.rb
elasticsearch-xpack-6.3.0 lib/elasticsearch/xpack/api/actions/rollup/start_job.rb
elasticsearch-xpack-6.2.0 lib/elasticsearch/xpack/api/actions/rollup/start_job.rb
elasticsearch-xpack-6.1.0 lib/elasticsearch/xpack/api/actions/rollup/start_job.rb