mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
HLRC: add support for get license basic/trial status API (#33176)
Relates to #29827
This commit is contained in:
parent
a76ac5729d
commit
0b7d18d733
19 changed files with 448 additions and 47 deletions
|
@ -0,0 +1,23 @@
|
|||
[[java-rest-high-get-basic-status]]
|
||||
=== Get Basic Status
|
||||
|
||||
[[java-rest-high-get-basic-status-execution]]
|
||||
==== Execution
|
||||
|
||||
The basic status of the license can be retrieved as follows:
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests}/LicensingDocumentationIT.java[get-basic-status-execute]
|
||||
--------------------------------------------------
|
||||
|
||||
[[java-rest-high-get-basic-status-response]]
|
||||
==== Response
|
||||
|
||||
The returned `GetTrialStatusResponse` holds only a `boolean` flag:
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests}/LicensingDocumentationIT.java[get-basic-status-response]
|
||||
--------------------------------------------------
|
||||
<1> Whether the license is eligible to start basic or not
|
|
@ -0,0 +1,23 @@
|
|||
[[java-rest-high-get-trial-status]]
|
||||
=== Get Trial Status
|
||||
|
||||
[[java-rest-high-get-trial-status-execution]]
|
||||
==== Execution
|
||||
|
||||
The trial status of the license can be retrieved as follows:
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests}/LicensingDocumentationIT.java[get-trial-status-execute]
|
||||
--------------------------------------------------
|
||||
|
||||
[[java-rest-high-get-trial-status-response]]
|
||||
==== Response
|
||||
|
||||
The returned `GetTrialStatusResponse` holds only a `boolean` flag:
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests}/LicensingDocumentationIT.java[get-trial-status-response]
|
||||
--------------------------------------------------
|
||||
<1> Whether the license is eligible to start trial or not
|
|
@ -220,12 +220,16 @@ The Java High Level REST Client supports the following Licensing APIs:
|
|||
* <<java-rest-high-delete-license>>
|
||||
* <<java-rest-high-start-trial>>
|
||||
* <<java-rest-high-start-basic>>
|
||||
* <<java-rest-high-get-trial-status>>
|
||||
* <<java-rest-high-get-basic-status>>
|
||||
|
||||
include::licensing/put-license.asciidoc[]
|
||||
include::licensing/get-license.asciidoc[]
|
||||
include::licensing/delete-license.asciidoc[]
|
||||
include::licensing/start-trial.asciidoc[]
|
||||
include::licensing/start-basic.asciidoc[]
|
||||
include::licensing/get-trial-status.asciidoc[]
|
||||
include::licensing/get-basic-status.asciidoc[]
|
||||
|
||||
== Machine Learning APIs
|
||||
:upid: {mainid}-x-pack-ml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue