1
2
3[[Elasticsearch_Namespaces_LicenseNamespace]]
4=== Elasticsearch\Namespaces\LicenseNamespace
5
6
7
8Class LicenseNamespace
9
10*Description*
11
12
13NOTE: this file is autogenerated using util/GenerateEndpoints.php
14and Elasticsearch 7.12.1 (3186837139b9c6b6d23c3200870651f10d3343b7)
15
16
17*Methods*
18
19The class defines the following methods:
20
21* <<Elasticsearch_Namespaces_LicenseNamespacedelete_delete,`delete()`>>
22* <<Elasticsearch_Namespaces_LicenseNamespaceget_get,`get()`>>
23* <<Elasticsearch_Namespaces_LicenseNamespacegetBasicStatus_getBasicStatus,`getBasicStatus()`>>
24* <<Elasticsearch_Namespaces_LicenseNamespacegetTrialStatus_getTrialStatus,`getTrialStatus()`>>
25* <<Elasticsearch_Namespaces_LicenseNamespacepost_post,`post()`>>
26* <<Elasticsearch_Namespaces_LicenseNamespacepostStartBasic_postStartBasic,`postStartBasic()`>>
27* <<Elasticsearch_Namespaces_LicenseNamespacepostStartTrial_postStartTrial,`postStartTrial()`>>
28
29
30
31[[Elasticsearch_Namespaces_LicenseNamespacedelete_delete]]
32.`delete(array $params = [])`
33****
34[source,php]
35----
36/*
37*/
38----
39****
40
41
42
43[[Elasticsearch_Namespaces_LicenseNamespaceget_get]]
44.`get(array $params = [])`
45****
46[source,php]
47----
48/*
49$params['local']             = (boolean) Return local information, do not retrieve the state from master node (default: false)
50$params['accept_enterprise'] = (boolean) If the active license is an enterprise license, return type as 'enterprise' (default: false)
51*/
52----
53****
54
55
56
57[[Elasticsearch_Namespaces_LicenseNamespacegetBasicStatus_getBasicStatus]]
58.`getBasicStatus(array $params = [])`
59****
60[source,php]
61----
62/*
63*/
64----
65****
66
67
68
69[[Elasticsearch_Namespaces_LicenseNamespacegetTrialStatus_getTrialStatus]]
70.`getTrialStatus(array $params = [])`
71****
72[source,php]
73----
74/*
75*/
76----
77****
78
79
80
81[[Elasticsearch_Namespaces_LicenseNamespacepost_post]]
82.`post(array $params = [])`
83****
84[source,php]
85----
86/*
87$params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false)
88$params['body']        = (array) licenses to be installed
89*/
90----
91****
92
93
94
95[[Elasticsearch_Namespaces_LicenseNamespacepostStartBasic_postStartBasic]]
96.`postStartBasic(array $params = [])`
97****
98[source,php]
99----
100/*
101$params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false)
102*/
103----
104****
105
106
107
108[[Elasticsearch_Namespaces_LicenseNamespacepostStartTrial_postStartTrial]]
109.`postStartTrial(array $params = [])`
110****
111[source,php]
112----
113/*
114$params['type']        = (string) The type of trial license to generate (default: "trial")
115$params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false)
116*/
117----
118****
119
120
121