Azure Storage Type Provider


BlobContainer

Namespace: FSharp.Azure.StorageTypeProvider.Blob

Represents a container in blob storage.

Instance members

Instance memberDescription
AsCloudBlobContainer(connectionString)
Signature: (connectionString:string option) -> CloudBlobContainer

Gets a handle to the Azure SDK client for this container.

Download(path, connectionString)
Signature: (path:string * connectionString:string option) -> Async<unit>

Downloads the entire container contents to the local file system asynchronously.

GetProperties(connectionString)
Signature: (connectionString:string option) -> Async<BlobContainerMetadata>

Fetches the latest metadata for the blob container.

[path]
Signature: path:string -> BlockBlobFile

Allows unsafe navigation to a blob by name.

CompiledName: get_Item

ListBlobs(...)
Signature: (includeSubfolders:bool option * prefix:string option * connectionString:string option) -> seq<BlobFile>

Lists all blobs contained in this container.

Name
Signature: string

Gets the name of this container.

CompiledName: get_Name

TryGetBlockBlob(path, connectionString)
Signature: (path:string * connectionString:string option) -> Async<BlockBlobFile option>

Safely retrieves a reference to a block blob asynchronously.

TryGetPageBlob(path, connectionString)
Signature: (path:string * connectionString:string option) -> Async<PageBlobFile option>

Safely retrieves a reference to a page blob asynchronously.

Upload(path, connectionString)
Signature: (path:string * connectionString:string option) -> Async<unit>

Uploads a file to this container.

Fork me on GitHub