Skip to content

azure.storage.write

azure · scripts/+azure/+storage/write.m

: azure.storage.write (data, container, blob)
: azure.storage.write (data, container, blob, …)

Write data to an Azure Blob Storage blob.

azure.storage.write (data, container, blob) uploads data as the content of the blob identified by container and blob in Azure Blob Storage.

data may be any numeric array (including uint8 raw bytes). It is sent as-is; no conversion is performed.

Credentials and options are the same as for azure.storage.read.

Example:

  azure.storage.write (uint8 ("hello world"), "mycontainer", "greeting.txt", ...
    "AccountName", "mystorage", "AccountKey", "abc123==")