You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Endpoints/Autoscaling.php
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,20 @@ public function deleteAutoscalingPolicy(array $params = [])
67
67
* Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
* pretty: boolean, // Pretty format the returned JSON response. (DEFAULT: false)
147
+
* human: boolean, // Return human readable values for statistics. (DEFAULT: true)
148
+
* error_trace: boolean, // Include the stack trace of returned errors. (DEFAULT: false)
149
+
* source: string, // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
150
+
* filter_path: list, // A comma-separated list of filters used to reduce the response.
151
+
* } $params
152
+
*
153
+
* @throws NoNodeAvailableException if all the hosts are offline
154
+
* @throws ClientResponseException if the status code of response is 4xx
155
+
* @throws ServerResponseException if the status code of response is 5xx
156
+
*
157
+
* @return Elasticsearch|Promise
145
158
*/
146
159
publicfunctiongetStatus(array$params = [])
147
160
{
@@ -171,7 +184,6 @@ public function getStatus(array $params = [])
171
184
* body: array, // Optionally specify a legacy index template name to delete and optionally specify a node attribute name used for index shard routing (defaults to "data")
172
185
* } $params
173
186
*
174
-
* @throws MissingParameterException if a required parameter is missing
175
187
* @throws NoNodeAvailableException if all the hosts are offline
176
188
* @throws ClientResponseException if the status code of response is 4xx
177
189
* @throws ServerResponseException if the status code of response is 5xx
@@ -340,6 +352,20 @@ public function retry(array $params = [])
340
352
* Start the index lifecycle management (ILM) plugin.
0 commit comments