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_starter_workspace(name, ...)Create a new starter (shared tier) workspace.
create_workspace(name, workspace_group[, ...])Create a new workspace.
create_workspace_group(name, region, ...[, ...])Create a new workspace group.
Retrieve a starter workspace definition.
get_workspace(id)Retrieve a workspace definition.
Retrieve a workspace group definition.
Return a list of available regions.
Return a list of regions that support shared tier workspaces.
Attributes
billingReturn the current billing information.
default_base_urlBase URL if none is specified.
default_versionWorkspace management API version if none is specified.
obj_typeObject type
Return the current organization.
organizationsReturn the organizations.
Return a list of available starter workspaces.
Return a list of available workspace groups.