singlestoredb.management.workspace.WorkspaceManager.create_workspace¶
- WorkspaceManager.create_workspace(name: str, workspace_group: Union[str, singlestoredb.management.workspace.WorkspaceGroup], size: Optional[str] = None, wait_on_active: bool = False, wait_interval: int = 10, wait_timeout: int = 600) singlestoredb.management.workspace.Workspace ¶
Create a new workspace.
- Parameters
name (str) – Name of the workspace
workspace_group (str or WorkspaceGroup) – The workspace ID of the workspace
size (str, optional) – Workspace size in workspace size notation (S-00, S-1, etc.)
wait_on_active (bool, optional) – Wait for the workspace to be active before returning
wait_timeout (int, optional) – Maximum number of seconds to wait before raising an exception if wait=True
wait_interval (int, optional) – Number of seconds between each polling interval
- Return type