get_snapshot_lifecycle_stats.asciidoc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --
  2. :api: slm-get-snapshot-lifecycle-stats
  3. :request: GetSnapshotLifecycleStatsRequest
  4. :response: GetSnapshotLifecycleStatsResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Get Snapshot Lifecycle Stats API
  8. [id="{upid}-{api}-request"]
  9. ==== Request
  10. The Get Snapshot Lifecycle Stats API allows you to retrieve statistics about snapshots taken or
  11. deleted, as well as retention runs by the snapshot lifecycle service.
  12. ["source","java",subs="attributes,callouts,macros"]
  13. --------------------------------------------------
  14. include-tagged::{doc-tests-file}[{api}-request]
  15. --------------------------------------------------
  16. [id="{upid}-{api}-response"]
  17. ==== Response
  18. The returned +{response}+ contains global statistics as well as a map of `SnapshotPolicyStats`,
  19. accessible by the id of the policy, which contains statistics about each policy.
  20. ["source","java",subs="attributes,callouts,macros"]
  21. --------------------------------------------------
  22. include-tagged::{doc-tests-file}[{api}-response]
  23. --------------------------------------------------
  24. include::../execution.asciidoc[]