Sha256: 4fc52b8936164187eab8c6c1e7f65f725f29da8727cd3c03002383869f2432ef
Contents?: true
Size: 1011 Bytes
Versions: 7
Compression:
Stored size: 1011 Bytes
Contents
module Elasticsearch module XPack module API module MachineLearning module Actions # Retrieve configuration information for jobs # # @option arguments [String] :job_id The ID of the jobs to fetch # @option arguments [Boolean] :allow_no_jobs Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) # # @see http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html # def get_jobs(arguments={}) valid_params = [ :allow_no_jobs ] method = Elasticsearch::API::HTTP_GET path = "_xpack/ml/anomaly_detectors/#{arguments[:job_id]}" params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params body = nil perform_request(method, path, params, body).body end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems