|
@@ -10,6 +10,8 @@ package org.elasticsearch.xpack.slm.action;
|
|
|
import org.elasticsearch.client.internal.node.NodeClient;
|
|
|
import org.elasticsearch.rest.BaseRestHandler;
|
|
|
import org.elasticsearch.rest.RestRequest;
|
|
|
+import org.elasticsearch.rest.Scope;
|
|
|
+import org.elasticsearch.rest.ServerlessScope;
|
|
|
import org.elasticsearch.rest.action.RestToXContentListener;
|
|
|
import org.elasticsearch.xpack.core.slm.action.ExecuteSnapshotLifecycleAction;
|
|
|
|
|
@@ -18,6 +20,7 @@ import java.util.List;
|
|
|
import static org.elasticsearch.rest.RestRequest.Method.POST;
|
|
|
import static org.elasticsearch.rest.RestRequest.Method.PUT;
|
|
|
|
|
|
+@ServerlessScope(Scope.INTERNAL)
|
|
|
public class RestExecuteSnapshotLifecycleAction extends BaseRestHandler {
|
|
|
|
|
|
@Override
|