elasticsearch-api/lib/elasticsearch/api/actions/license/post_start_trial.rb
def post_start_trial(arguments = {})
          headers = arguments.delete(:headers) || {}

          body = nil

          arguments = arguments.clone

          method = Elasticsearch::API::HTTP_POST
          path   = "_license/start_trial"
          params = Utils.process_params(arguments)

          perform_request(method, path, params, body, headers).body
        end
# starts a limited time trial license.
#
# @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)
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html
#
starts a limited time trial license.
starts a limited time trial license .
def post_start_trial(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          method = Elasticsearch::API::HTTP_POST
          path   = "_license/start_trial"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def post_start_trial ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone method = Elasticsearch :: API :: HTTP_POST path = "_license/start_trial" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
starts a limited time trial license.
starts a limited time trial license .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None