IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

xpack.ml.setUpgradeMode

edit
client.xpack.ml.setUpgradeMode({
  enabled: boolean,
  timeout: string
})

Reference

enabled

boolean - Whether to enable upgrade_mode ML setting or not. Defaults to false.

timeout

string - Controls the time to wait before action times out. Defaults to 30 seconds