restart#
- ACPInstance.restart(stop_timeout=None)#
Stop, then start the product instance.
- Parameters:
stop_timeout (float | None) – Time in seconds after which the instance is forcefully stopped. Note that not all launch methods may implement this parameter. If they do not, the parameter is ignored.
- Raises:
RuntimeError – If the instance is already in the stopped state.
RuntimeError – If the instance does not allow restarting.