class AzureBlob::Client
def create_append_blob(key, options = {})
[+:content_disposition+]
Will be saved on the blob in Azure.
[+:content_type+]
Options:
You are expected to append blocks to the blob with append_blob_block after creating the blob.
Calls to {Put Blob}[https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob]
Creates a Blob of type append.
def create_append_blob(key, options = {}) uri = generate_uri("#{container}/#{key}") headers = { "x-ms-blob-type": "AppendBlob", "Content-Length": 0, "Content-Type": options[:content_type], "Content-MD5": options[:content_md5], "x-ms-blob-content-disposition": options[:content_disposition], } Http.new(uri, headers, signer:, **options.slice(:metadata, :tags)).put(nil) end