AzureStorage.Blob.get_blob_content

You're seeing just the function get_blob_content, go back to AzureStorage.Blob module for more information.
Link to this function

get_blob_content(context, container, filename, options \\ [])

View Source

The Get Blob operation reads or downloads a blob from the system, including its metadata and properties.

Supported options

  • :lease_id - Active lease id The default value is "".

  • :json - If true return content is in map() The default value is false.

# get plain/text content
{:ok, content, attributes} = context
  |> get_blob_content("container1", "data.txt")
{:ok, "Hello World!", %{"Content-Type" => "plain/text", ...}}

# get json content
context |> get_blob_content("container1", "data.json", json: true)
{:ok, %{"data" => []}, %{"Content-Type" => "application/json", ...}}