singlestoredb.management.workspace.WorkspaceGroup.create_workspace¶
- WorkspaceGroup.create_workspace(name: str, 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
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