Module: Elasticsearch::XPack::API::License::Actions
- Included in:
- LicenseClient
- Defined in:
- lib/elasticsearch/xpack/api/namespace/license.rb,
lib/elasticsearch/xpack/api/actions/license/get.rb,
lib/elasticsearch/xpack/api/actions/license/post.rb,
lib/elasticsearch/xpack/api/actions/license/delete.rb,
lib/elasticsearch/xpack/api/actions/license/get_basic_status.rb,
lib/elasticsearch/xpack/api/actions/license/get_trial_status.rb,
lib/elasticsearch/xpack/api/actions/license/post_start_basic.rb,
lib/elasticsearch/xpack/api/actions/license/post_start_trial.rb
Instance Method Summary collapse
-
#delete(arguments = {}) ⇒ Object
Delete a license.
-
#get(arguments = {}) ⇒ Object
Get a license.
-
#get_basic_status(arguments = {}) ⇒ Object
TODO: Description.
-
#get_trial_status(arguments = {}) ⇒ Object
TODO: Description.
-
#post(arguments = {}) ⇒ Object
Install a license.
-
#post_start_basic(arguments = {}) ⇒ Object
TODO: Description.
-
#post_start_trial(arguments = {}) ⇒ Object
TODO: Description.
Instance Method Details
#delete(arguments = {}) ⇒ Object
Delete a license
11 12 13 14 15 16 17 18 |
# File 'lib/elasticsearch/xpack/api/actions/license/delete.rb', line 11 def delete(arguments={}) method = Elasticsearch::API::HTTP_DELETE path = "_xpack/license" params = {} body = nil perform_request(method, path, params, body).body end |
#get(arguments = {}) ⇒ Object
Get a license
13 14 15 16 17 18 19 20 21 |
# File 'lib/elasticsearch/xpack/api/actions/license/get.rb', line 13 def get(arguments={}) valid_params = [ :local ] method = Elasticsearch::API::HTTP_GET path = "_xpack/license" params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params body = nil perform_request(method, path, params, body).body end |
#get_basic_status(arguments = {}) ⇒ Object
TODO: Description
12 13 14 15 16 17 18 19 |
# File 'lib/elasticsearch/xpack/api/actions/license/get_basic_status.rb', line 12 def get_basic_status(arguments={}) method = Elasticsearch::API::HTTP_GET path = "_xpack/license/basic_status" params = {} body = nil perform_request(method, path, params, body).body end |
#get_trial_status(arguments = {}) ⇒ Object
TODO: Description
12 13 14 15 16 17 18 19 |
# File 'lib/elasticsearch/xpack/api/actions/license/get_trial_status.rb', line 12 def get_trial_status(arguments={}) method = Elasticsearch::API::HTTP_GET path = "_xpack/license/trial_status" params = {} body = nil perform_request(method, path, params, body).body end |
#post(arguments = {}) ⇒ Object
Install a license
15 16 17 18 19 20 21 22 23 |
# File 'lib/elasticsearch/xpack/api/actions/license/post.rb', line 15 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 |
#post_start_basic(arguments = {}) ⇒ Object
TODO: Description
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/elasticsearch/xpack/api/actions/license/post_start_basic.rb', line 13 def post_start_basic(arguments={}) valid_params = [ :acknowledge ] method = Elasticsearch::API::HTTP_POST path = "_xpack/license/start_basic" params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params body = nil perform_request(method, path, params, body).body end |
#post_start_trial(arguments = {}) ⇒ Object
TODO: Description
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/elasticsearch/xpack/api/actions/license/post_start_trial.rb', line 14 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 |