singlestoredb.management.workspace.Workspace.update

Workspace.update(auto_suspend: Dict[str, Any] | None = None, cache_config: int | None = None, deployment_type: str | None = None, size: str | None = None) None

Update the workspace definition.

Parameters:
  • auto_suspend (Dict[str, Any], optional) – Auto-suspend mode for the workspace: IDLE, SCHEDULED, DISABLED

  • cache_config (int, optional) – Specifies the multiplier for the persistent cache associated with the workspace. If specified, it enables the cache configuration multiplier. It can have one of the following values: 1, 2, or 4.

  • deployment_type (str, optional) – The deployment type that will be applied to all the workspaces within the group

  • size (str, optional) – Size of the workspace (in workspace size notation), such as “S-1”.