restart_adapter
Restart a RUNNING adapter on Itential Platform, waiting for it to return to RUNNING state. Raises InvalidStateError for adapters in STOPPED, DEAD, or DELETED states.
Instructions
Restart an adapter on Itential Platform.
Behavior based on current adapter state:
RUNNING: Attempts to restart and waits for RUNNING state
STOPPED/DEAD/DELETED: Raises InvalidStateError (cannot restart)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the adapter to restart | |
| timeout | No | Timeout waiting for adapter to restart |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the adapter | |
| state | Yes | Opreational state (DEAD, STOPPED, RUNNING, DELETED) |