Struct OpenVDS::AzureOpenOptions

struct AzureOpenOptions : public OpenVDS::OpenOptions

Options for opening a VDS in Azure.

Public Functions

inline AzureOpenOptions()
inline AzureOpenOptions(std::string const &connectionString, std::string const &container, std::string const &blob)

AzureOpenOptions constructor.

Parameters:
  • connectionString – The connectionString for the VDS

  • container – The container of the VDS

  • blob – The blob prefix of the VDS

inline AzureOpenOptions(std::string const &connectionString, std::string const &container, std::string const &blob, int parallelism_factor, int max_execution_time)

AzureOpenOptions constructor.

Parameters:
  • connectionString – The connectionString for the VDS

  • container – The container of the VDS

  • blob – The blob prefix of the VDS

  • parallelism_factor – The parallelism factor setting for the Azure Blob Storage library

  • max_execution_time – The max execution time setting for the Azure Blob Storage library

Public Members

std::string connectionString
std::string accountName
std::string bearerToken
std::string container
std::string blob
int parallelism_factor = 4
int max_execution_time = 100000

Public Static Functions

static inline AzureOpenOptions AzureOpenOptionsBearer(std::string const &accountName, std::string const &bearerToken, std::string const &container, std::string const &blob)

AzureOpenOptions factory function for bearer token based authentication.

Parameters:
  • bearerToken – The bearer token

  • container – The container of the VDS

  • blob – The blob prefix of the VDS

Returns:

A valid AzureOpenOptions