Files
elasticsearch-js/docs/reference/api/MlSetUpgradeModeRequest.md
2025-05-28 10:02:30 -05:00

9 lines
677 B
Markdown

# `MlSetUpgradeModeRequest` [interface-MlSetUpgradeModeRequest]
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { enabled?: never; timeout?: never; }) | All values in `body` will be added to the request body. |
| `enabled` | boolean | When `true`, it enables `upgrade_mode` which temporarily halts all job and datafeed tasks and prohibits new job and datafeed tasks from starting. |
| `querystring` | { [key: string]: any; } & { enabled?: never; timeout?: never; } | All values in `querystring` will be added to the request querystring. |
| `timeout` | [Duration](./Duration.md) | The time to wait for the request to be completed. |