stop#

ACPInstance.stop(*, timeout=None)#

Stop the product instance.

Parameters:

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 stopping.