stack es slm get-lifecycle cli command
Auth required
Idempotent
Scope: global
elastic stack es slm get-lifecycle [options]
Get policy information.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--policy-idstring-
A comma-separated list of snapshot lifecycle policy identifiers.
Repeatable: pass
--policy-idmultiple times to supply more than one value --master-timeoutstring- 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- The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON