Sha256: 668f7036f2e1e8c2012a1fa79c41648e840a777a6fad37f1806c745c1e86d02f
Contents?: true
Size: 916 Bytes
Versions: 7
Compression:
Stored size: 916 Bytes
Contents
module Elasticsearch module XPack module API module License module Actions # Install a license # # @option arguments [Hash] :body Licenses to be installed # @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(arguments={}) valid_params = [ :acknowledge ] method = Elasticsearch::API::HTTP_PUT path = "_xpack/license" params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params body = arguments[:body] perform_request(method, path, params, body).body end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems