stack es ml set-upgrade-mode cli command
Auth required
elastic stack es ml set-upgrade-mode [options]
Set upgrade_mode for ML indices.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--[no-]enabled- When
true, it enablesupgrade_modewhich temporarily halts all job and datafeed tasks and prohibits new job and datafeed tasks from starting. --timeoutstring- The time to wait for the request to be completed.
--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