singlestoredb.management.workspace.Workspace.terminate

Workspace.terminate(wait_on_terminated: bool = False, wait_interval: int = 10, wait_timeout: int = 600, force: bool = False) None

Terminate the workspace.

Parameters:
  • wait_on_terminated (bool, optional) – Wait for the workspace to go into ‘Terminated’ mode before returning

  • wait_interval (int, optional) – Number of seconds between each server check

  • wait_timeout (int, optional) – Total number of seconds to check server before giving up

  • force (bool, optional) – Should the workspace group be terminated even if it has workspaces?

Raises:

ManagementError – If timeout is reached