Files
elasticsearch-js/docs/reference-license-get_trial_status.asciidoc
2024-12-05 14:46:52 -06:00

73 lines
3.9 KiB
Plaintext

[[reference-license-get_trial_status]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
[[client.license.getTrialStatus]]
=== client.license.getTrialStatus
Retrieves information about the status of the trial license.
{ref}/get-trial-status.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(LicenseGetTrialStatusRequest, options?): Promise<LicenseGetTrialStatusResponse>
----
[discrete]
==== Request
[pass]
++++
<pre>
++++
interface LicenseGetTrialStatusRequest extends <<RequestBase>> {
}
[pass]
++++
</pre>
++++
[discrete]
==== Response
[pass]
++++
<pre>
++++
interface LicenseGetTrialStatusResponse {
eligible_to_start_trial: boolean
}
[pass]
++++
</pre>
++++