slm-api.asciidoc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [role="xpack"]
  2. [[snapshot-lifecycle-management-api]]
  3. == {slm-cap} APIs
  4. .New API reference
  5. [sidebar]
  6. --
  7. For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
  8. --
  9. You use the following APIs to set up policies to automatically take snapshots and
  10. control how long they are retained.
  11. For more information about {slm} ({slm-init}), see <<automate-snapshots-slm>>.
  12. [discrete]
  13. [[slm-api-policy-endpoint]]
  14. === Policy management APIs
  15. * <<slm-api-put-policy,Create lifecycle policy>>
  16. * <<slm-api-get-policy,Get lifecycle policy>>
  17. * <<slm-api-delete-policy,Delete lifecycle policy>>
  18. [discrete]
  19. [[slm-api-index-endpoint]]
  20. === Snapshot management APIs
  21. * <<slm-api-execute-lifecycle,Execute snapshot lifecycle policy>> (take snapshots)
  22. * <<slm-api-execute-retention,Execute snapshot retention policy>> (delete expired snapshots)
  23. [discrete]
  24. [[slm-api-management-endpoint]]
  25. === Operation management APIs
  26. * <<slm-api-get-status,Get {slm-init} status>>
  27. * <<slm-api-get-stats,Get global and policy-level action statistics>>
  28. * <<slm-api-start,Start {slm-init}>>
  29. * <<slm-api-stop,Stop {slm-init}>>
  30. include::slm-put.asciidoc[]
  31. include::slm-get.asciidoc[]
  32. include::slm-delete.asciidoc[]
  33. include::slm-execute.asciidoc[]
  34. include::slm-execute-retention.asciidoc[]
  35. include::slm-get-status.asciidoc[]
  36. include::slm-stats.asciidoc[]
  37. include::slm-start.asciidoc[]
  38. include::slm-stop.asciidoc[]