Package org.elasticsearch.client
Class MigrationClient
- java.lang.Object
-
- org.elasticsearch.client.MigrationClient
-
public final class MigrationClient extends java.lang.ObjectA wrapper for theRestHighLevelClientthat provides methods for accessing the Elastic License-related methodsSee the X-Pack Migration APIs on elastic.co for more information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexUpgradeInfoResponsegetAssistance(IndexUpgradeInfoRequest request, RequestOptions options)Get Migration Assistance for one or more indices
-
-
-
Method Detail
-
getAssistance
public IndexUpgradeInfoResponse getAssistance(IndexUpgradeInfoRequest request, RequestOptions options) throws java.io.IOException
Get Migration Assistance for one or more indices- Parameters:
request- the requestoptions- the request options (e.g. headers), useRequestOptions.DEFAULTif nothing needs to be customized- Returns:
- the response
- Throws:
java.io.IOException- in case there is a problem sending the request or parsing back the response
-
-