Sha256: 3e1b70be5ca83d3f9c7d2dcfc1c2a7c047f9ca643956ab39f4eb8557a3976247

Contents?: true

Size: 622 Bytes

Versions: 12

Compression:

Stored size: 622 Bytes

Contents

module Elasticsearch
  module XPack
    module API
      module MachineLearning
        module Actions

          # @option arguments [Hash] :body The detector (*Required*)
          #
          def validate_detector(arguments={})
            raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
            method = Elasticsearch::API::HTTP_POST
            path   = "_xpack/ml/anomaly_detectors/_validate/detector"
            params = {}
            body   = arguments[:body]

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
elasticsearch-xpack-6.8.1 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-7.2.1 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-7.2.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-7.1.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-6.8.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-6.3.1 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-7.0.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-7.0.0.pre lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-6.3.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-6.2.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-6.1.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb
elasticsearch-xpack-6.0.0 lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb