Function OpenVDS::CreateOpenOptions

inline OpenOptions *OpenVDS::CreateOpenOptions(std::string url, std::string connectionString, Error &error)

Create an OpenOptions struct from a url and connection string.

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:

This function news a OpenOptions struct that has to be deleted by the caller. This is a helper function to allow applications modify the OpenOption before passing it to Open. Use the Open and Create functions with url and string instead if this is not needed.