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

11 lines
977 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# `MlUpgradeJobSnapshotRequest` [interface-MlUpgradeJobSnapshotRequest]
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { job_id?: never; snapshot_id?: never; wait_for_completion?: never; timeout?: never; }) | All values in `body` will be added to the request body. |
| `job_id` | [Id](./Id.md) | Identifier for the anomaly detection job. |
| `querystring` | { [key: string]: any; } & { job_id?: never; snapshot_id?: never; wait_for_completion?: never; timeout?: never; } | All values in `querystring` will be added to the request querystring. |
| `snapshot_id` | [Id](./Id.md) | A numerical character string that uniquely identifies the model snapshot. |
| `timeout` | [Duration](./Duration.md) | Controls the time to wait for the request to complete. |
| `wait_for_completion` | boolean | When true, the API won’t respond until the upgrade is complete. Otherwise, it responds as soon as the upgrade task is assigned to a node. |