Get policy information
- GET /_slm/policy/{policy_id}
- GET /_slm/policy
Get snapshot lifecycle policy definitions and information about the latest snapshot attempts.
- Cluster privileges:
manage_slm
Path Parameters
-
policy_idName | Nameoptional -
A comma-separated list of snapshot lifecycle policy identifiers.
Leave it out to use
/_slm/policy.
Query Parameters
-
master_timeoutstring Duration · default: 30s 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.
-
timeoutstring Duration · default: 30s The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Response
application/json
Response Type: map string to SnapshotLifecycle