Module: ElasticsearchServerless::API::License::Actions
- Defined in:
- lib/elasticsearch-serverless/api/license/get.rb
Instance Method Summary collapse
-
#get(arguments = {}) ⇒ Object
This API returns information about the type of license, when it was issued, and when it expires, for example.
Instance Method Details
#get(arguments = {}) ⇒ Object
This API returns information about the type of license, when it was issued, and when it expires, for example. For more information about the different types of licenses, see www.elastic.co/subscriptions.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/elasticsearch-serverless/api/license/get.rb', line 34 def get(arguments = {}) arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = ElasticsearchServerless::API::HTTP_GET path = "_license" params = Utils.process_params(arguments) ElasticsearchServerless::API::Response.new( perform_request(method, path, params, body, headers) ) end |