cloud hosted deployments enable-deployment-resource-ilm cli command
Destructive
Auth required
elastic cloud hosted deployments enable-deployment-resource-ilm \
--deployment-id <deployment-id> \
--ref-id <ref-id> \
--index-patterns <index-patterns> \
[options]
Migrate Elasticsearch resource to use ILM
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--deployment-idstringrequired- Identifier for the Deployment.
--ref-idstringrequired- User-specified RefId for the Resource (or '_main' if there is only one).
--index-patternsstring[]required-
Repeatable: pass
--index-patternsmultiple times to supply more than one value --validate-only- When
true, does not enable ILM but returns warnings if any applications may lose availability during ILM migration. --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--yes- confirm destructive action without prompting
--json-
output as JSON