AzureBlockBlobStorage

class AzureBlockBlobStorage : BlobStorage

A BlobStorage implementation that interfaces with Azure Blob Storage using Block operations

Constructors

Link copied to clipboard
fun AzureBlockBlobStorage(    client: HttpClient,     blobUri: String,     sasToken: String,     existInStorage: Boolean)

Functions

Link copied to clipboard
open override fun download(savePath: String)

Downloads the blob from the storage to the specified path

Link copied to clipboard
open override fun upload(filePath: String)

Uploads the specified file to the storage

Properties

Link copied to clipboard
val blobUri: String

Uri of the blob

Link copied to clipboard
val client: HttpClient

Ktor HttpClient used to make the requests

Link copied to clipboard
open override val existsInStorage: Boolean

Boolean flag if there is a blob in the storage

Link copied to clipboard
val sasToken: String

Token used to authenticate with the blob operations