Storage
Hierarchy
Index
Methods
Properties
Methods
drop
Drop the storage, removing it from the underlying storage client and clearing the cache.
Returns None
open
Open a storage, either restore existing or create a new one.
Parameters
optionalkeyword-onlyid: str | None = None
The storage ID.
optionalkeyword-onlyname: str | None = None
The storage name.
optionalkeyword-onlyconfiguration: Configuration | None = None
Configuration object used during the storage creation or restoration process.
optionalkeyword-onlystorage_client: StorageClient | None = None
Underlying storage client to use. If not provided, the default global storage client from the service locator will be used.
Returns Storage
storage_object
Set the full storage object.
Parameters
storage_object: StorageMetadata
Returns None
Properties
id
Get the storage ID.
name
Get the storage name.
storage_object
Get the full storage object.
Base class for storages.