Share via


CloudBlobDirectory Class

Definition

Represents a virtual directory of blobs, designated by a delimiter character.

public class CloudBlobDirectory : Microsoft.Azure.Storage.Blob.IListBlobItem
type CloudBlobDirectory = class
    interface IListBlobItem
Public Class CloudBlobDirectory
Implements IListBlobItem
Inheritance
CloudBlobDirectory
Implements

Remarks

Containers, which are encapsulated as CloudBlobContainer objects, hold directories, and directories hold block blobs and page blobs. Directories can also contain sub-directories.

Constructors

CloudBlobDirectory()

Public constructor for mock unit testing.

Properties

Container

Gets the container for the virtual directory.

Parent

Gets the parent directory for the virtual directory.

Prefix

Gets the prefix.

ServiceClient

Gets the Blob service client for the virtual directory.

StorageUri

Gets the blob directory's URIs for both the primary and secondary locations.

Uri

Gets the URI that identifies the virtual directory for the primary location.

Methods

BeginListBlobsSegmented(BlobContinuationToken, AsyncCallback, Object)

Begins an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

BeginListBlobsSegmented(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

EndListBlobsSegmented(IAsyncResult)

Ends an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

GetAppendBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to an append blob in this virtual directory.

GetAppendBlobReference(String)

Gets a reference to an append blob in this virtual directory.

GetBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a blob in this virtual directory.

GetBlobReference(String)

Gets a reference to a blob in this virtual directory.

GetBlockBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a block blob in this virtual directory.

GetBlockBlobReference(String)

Gets a reference to a block blob in this virtual directory.

GetDirectoryReference(String)

Returns a virtual subdirectory within this virtual directory.

GetPageBlobReference(String, Nullable<DateTimeOffset>)

Returns a reference to a page blob in this virtual directory.

GetPageBlobReference(String)

Gets a reference to a page blob in this virtual directory.

ListBlobs(Boolean, BlobListingDetails, BlobRequestOptions, OperationContext)

Returns an enumerable collection of the blobs in the virtual directory that are retrieved lazily.

ListBlobsSegmented(BlobContinuationToken)

Returns a result segment containing a collection of blob items in the virtual directory.

ListBlobsSegmented(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

Returns a result segment containing a collection of blob items in the virtual directory.

ListBlobsSegmentedAsync(BlobContinuationToken, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

ListBlobsSegmentedAsync(BlobContinuationToken)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

ListBlobsSegmentedAsync(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

ListBlobsSegmentedAsync(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

Applies to