stack es ml update-model-snapshot cli command
Auth required
elastic stack es ml update-model-snapshot \
--job-id <job-id> \
--snapshot-id <snapshot-id> \
[options]
Update a snapshot.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--job-idstringrequired- Identifier for the anomaly detection job.
--snapshot-idstringrequired- Identifier for the model snapshot.
--descriptionstring- A description of the model snapshot.
--[no-]retain- If
true, this snapshot will not be deleted during automatic cleanup of snapshots older thanmodel_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. --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