singlestoredb.management.workspace.Workspace.update

Workspace.update(auto_suspend: Dict[str, Any] | None = None, cache_config: float | None = None, deployment_type: str | None = None, size: str | None = None, auto_scale: Dict[str, Any] | None = None, enable_kai: bool | None = None, scale_factor: float | 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 (float, 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”.

  • auto_scale (Dict[str, Any], optional) – Auto-scale settings for the workspace.

  • enable_kai (bool, optional) – Whether to enable SingleStore Kai on this workspace.

  • scale_factor (float, optional) – Scale factor for the workspace.