Function OpenVDS::Open
-
inline VDSHandle OpenVDS::Open(std::string url, std::string connectionString, Error &error)
Open an existing VDS.
- Parameters:
url – The url scheme specific to each cloud provider Available schemes are s3:// azure://
connectionString – The cloud provider specific connection string Specifies additional arguments for the cloud provider
error – If an error occured, the error code and message will be written to this output parameter
- Returns:
The VDS handle that can be used to get the VolumeDataLayout and the VolumeDataAccessManager
-
inline VDSHandle OpenVDS::Open(std::string url, Error &error)
Open an existing VDS. This is a simple wrapper that uses an empty connectionString.
- Parameters:
url – The url scheme specific to each cloud provider Available schemes are s3:// azure://
error – If an error occured, the error code and message will be written to this output parameter
- Returns:
The VDS handle that can be used to get the VolumeDataLayout and the VolumeDataAccessManager
-
inline VDSHandle OpenVDS::Open(const OpenOptions &options, Error &error)
Open an existing VDS.
- Parameters:
options – The options for the connection
error – If an error occured, the error code and message will be written to this output parameter
- Returns:
The VDS handle that can be used to get the VolumeDataLayout and the VolumeDataAccessManager
-
inline VDSHandle OpenVDS::Open(IOManager *ioManager, Error &error)
Open an existing VDS.
- Parameters:
ioManager – The IOManager for the connection, it will be deleted automatically when the VDS handle is closed
error – If an error occured, the error code and message will be written to this output parameter
- Returns:
The VDS handle that can be used to get the VolumeDataLayout and the VolumeDataAccessManager
-
inline VDSHandle OpenVDS::Open(IOManager *ioManager, LogLevel logLevel, Error &error)
Open an existing VDS.
- Parameters:
ioManager – The IOManager for the connection, it will be deleted automatically when the VDS handle is closed
logLevel – The logging threshold
error – If an error occured, the error code and message will be written to this output parameter
- Returns:
The VDS handle that can be used to get the VolumeDataLayout and the VolumeDataAccessManager