singlestoredb.management.workspace.WorkspaceManager¶
- class singlestoredb.management.workspace.WorkspaceManager(access_token: str | None = None, version: str | None = None, base_url: str | None = None, *, organization_id: str | None = None)¶
SingleStoreDB workspace manager.
This class should be instantiated using
singlestoredb.manage_workspaces()
.- Parameters:
See also
- __init__(access_token: str | None = None, version: str | None = None, base_url: str | None = None, *, organization_id: str | None = None)¶
Methods
__init__
([access_token, version, base_url, ...])create_workspace
(name, workspace_group[, ...])Create a new workspace.
create_workspace_group
(name, region, ...[, ...])Create a new workspace group.
get_starter_workspace
(id)Retrieve a starter workspace definition.
get_workspace
(id)Retrieve a workspace definition.
Retrieve a workspace group definition.
Return a list of available regions.
Attributes
billing
Return the current billing information.
default_base_url
Base URL if none is specified.
default_version
Workspace management API version if none is specified.
obj_type
Object type
Return the current organization.
organizations
Return the organizations.
starter_workspaces
Return a list of available starter workspaces.
Return a list of available workspace groups.