Azurex.Blob.Config (AzureX v0.1.4) View Source
Azurex Blob Config
Link to this section Summary
Functions
Azure endpoint url, optional
Defaults to https://{name}.blob.core.windows.net
where name
is the storage_account_name
Azure container name, optional.
Returns the value in the connection string given the string key.
Parses a connection string to a key value map.
Azure storage account connection string.
Required if storage_account_name
or storage_account_key
not set.
Azure storage account access key. Base64 encoded, as provided by azure UI.
Required if storage_account_connection_string
not set.
Azure storage account name.
Required if storage_account_connection_string
not set.
Link to this section Functions
Specs
api_url() :: String.t()
Azure endpoint url, optional
Defaults to https://{name}.blob.core.windows.net
where name
is the storage_account_name
Specs
default_container() :: String.t() | nil
Azure container name, optional.
Specs
Returns the value in the connection string given the string key.
Specs
Parses a connection string to a key value map.
Examples
iex> parse_connection_string("Key=value")
%{"Key" => "value"}
iex> parse_connection_string("Key1=hello;Key2=world")
%{"Key1" => "hello", "Key2" => "world"}
iex> parse_connection_string(nil)
%{}
Specs
storage_account_connection_string() :: String.t() | nil
Azure storage account connection string.
Required if storage_account_name
or storage_account_key
not set.
Specs
storage_account_key() :: binary()
Azure storage account access key. Base64 encoded, as provided by azure UI.
Required if storage_account_connection_string
not set.
Specs
storage_account_name() :: String.t()
Azure storage account name.
Required if storage_account_connection_string
not set.