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-id string required
Identifier for the Deployment.
--ref-id string required
User-specified RefId for the Resource (or '_main' if there is only one).
--index-patterns string[] required

Repeatable: pass --index-patterns multiple 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-file string
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