Class StopSlmRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.slm.StopSlmRequest
Stop snapshot lifecycle management. Stop all snapshot lifecycle management
(SLM) operations and the SLM plugin. This API is useful when you are
performing maintenance on a cluster and need to prevent SLM from performing
any actions on your data streams or indices. Stopping SLM does not stop any
snapshots that are in progress. You can manually trigger snapshots with the
run snapshot lifecycle policy API even if SLM is stopped.
The API returns a response as soon as the request is acknowledged, but the plugin might continue to run until in-progress operations complete and it can be safely stopped. Use the get snapshot lifecycle management status API to see if SLM is running.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<StopSlmRequest,
StopSlmResponse, ErrorResponse> Endpoint "slm.stop
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for a connection to the master node.static StopSlmRequest
final Time
timeout()
The period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "slm.stop
".
-
-
Method Details
-
of
-
masterTimeout
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
timeout
-