Sha256: a40fa6b16e513db7fe1713d66e78920f9316ee80230fcdd0f1fccb588a787726

Contents?: true

Size: 944 Bytes

Versions: 6

Compression:

Stored size: 944 Bytes

Contents

module Elasticsearch
  module XPack
    module API
      module License
        module Actions

          # TODO: Description
          #
          # @option arguments [String] :type The type of trial license to generate (default: "trial")
          # @option arguments [Boolean] :acknowledge whether the user has acknowledged acknowledge messages (default: false)
          #
          # @see https://www.elastic.co/guide/en/x-pack/current/license-management.html
          #
          def post_start_trial(arguments={})
            valid_params = [
              :type,
              :acknowledge ]
            method = Elasticsearch::API::HTTP_POST
            path   = "_xpack/license/start_trial"
            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

6 entries across 6 versions & 1 rubygems

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