Cloud​Blob​Container Class

Definition

Represents a container in the Microsoft Azure Blob service.

public class CloudBlobContainer
Inheritance
CloudBlobContainer

Constructors

Cloud​Blob​Container(​Uri)

Initializes a new instance of the CloudBlobContainer class.

Cloud​Blob​Container(​Storage​Uri, ​Storage​Credentials)

Initializes a new instance of the CloudBlobContainer class.

Cloud​Blob​Container(​Uri, ​Storage​Credentials)

Initializes a new instance of the CloudBlobContainer class.

Properties

Metadata

Gets the container's metadata.

Name

Gets the name of the container.

Properties

Gets the container's system properties.

Service​Client

Gets the Blob service client for the container.

Storage​Uri

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

Uri

Gets the container's URI for the primary location.

Methods

Acquire​Lease(​Nullable<​Time​Span>, ​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Acquires a lease on this container.

Acquire​Lease​Async(​Nullable<​Time​Span>, ​String)

Initiates an asynchronous operation that acquires a lease on this container.

Acquire​Lease​Async(​Nullable<​Time​Span>, ​String, ​Cancellation​Token)

Initiates an asynchronous operation that acquires a lease on this container.

Acquire​Lease​Async(​Nullable<​Time​Span>, ​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that acquires a lease on this container.

Acquire​Lease​Async(​Nullable<​Time​Span>, ​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that acquires a lease on this container.

Begin​Acquire​Lease(​Nullable<​Time​Span>, ​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to acquire a lease on this container.

Begin​Acquire​Lease(​Nullable<​Time​Span>, ​String, ​Async​Callback, ​Object)

Begins an asynchronous operation to acquire a lease on this container.

Begin​Break​Lease(​Nullable<​Time​Span>, ​Async​Callback, ​Object)

Begins an asynchronous operation to break the current lease on this container.

Begin​Break​Lease(​Nullable<​Time​Span>, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to break the current lease on this container.

Begin​Change​Lease(​String, ​Access​Condition, ​Async​Callback, ​Object)

Begins an asynchronous operation to change the lease on this container.

Begin​Change​Lease(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to change the lease on this container.

Begin​Create(​Async​Callback, ​Object)

Begins an asynchronous operation to create a container.

Begin​Create(​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to create a container.

Begin​Create(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to create a container and specify the level of access to the container's data.

Begin​Create​If​Not​Exists(​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous request to create the container if it does not already exist.

Begin​Create​If​Not​Exists(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous request to create the container if it does not already exist.

Begin​Create​If​Not​Exists(​Async​Callback, ​Object)

Begins an asynchronous request to create the container if it does not already exist.

Begin​Delete(​Async​Callback, ​Object)

Begins an asynchronous operation to delete a container.

Begin​Delete(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to delete a container.

Begin​Delete​If​Exists(​Async​Callback, ​Object)

Begins an asynchronous request to delete the container if it already exists.

Begin​Delete​If​Exists(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous request to delete the container if it already exists.

Begin​Exists(​Async​Callback, ​Object)

Begins an asynchronous request to check whether the container exists.

Begin​Exists(​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous request to check whether the container exists.

Begin​Fetch​Attributes(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to retrieve the container's attributes.

Begin​Fetch​Attributes(​Async​Callback, ​Object)

Begins an asynchronous operation to retrieve the container's attributes.

Begin​Get​Blob​Reference​From​Server(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to get a reference to a blob in this container.

Begin​Get​Blob​Reference​From​Server(​String, ​Async​Callback, ​Object)

Begins an asynchronous operation to get a reference to a blob in this container.

Begin​Get​Permissions(​Async​Callback, ​Object)

Begins an asynchronous request to get the permissions settings for the container.

Begin​Get​Permissions(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous request to get the permissions settings for the container.

Begin​List​Blobs​Segmented(​Blob​Continuation​Token, ​Async​Callback, ​Object)

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

Begin​List​Blobs​Segmented(​String, ​Blob​Continuation​Token, ​Async​Callback, ​Object)

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

Begin​List​Blobs​Segmented(​String, ​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

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

Begin​Release​Lease(​Access​Condition, ​Async​Callback, ​Object)

Begins an asynchronous operation to release the lease on this container.

Begin​Release​Lease(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to release the lease on this container.

Begin​Renew​Lease(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to renew a lease on this container.

Begin​Renew​Lease(​Access​Condition, ​Async​Callback, ​Object)

Begins an asynchronous operation to renew a lease on this container.

Begin​Set​Metadata(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to set user-defined metadata on the container.

Begin​Set​Metadata(​Async​Callback, ​Object)

Begins an asynchronous operation to set user-defined metadata on the container.

Begin​Set​Permissions(​Blob​Container​Permissions, ​Async​Callback, ​Object)

Begins an asynchronous request to set permissions for the container.

Begin​Set​Permissions(​Blob​Container​Permissions, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous request to set permissions for the container.

Break​Lease(​Nullable<​Time​Span>, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Breaks the current lease on this container.

Break​Lease​Async(​Nullable<​Time​Span>)

Initiates an asynchronous operation that breaks the current lease on this container.

Break​Lease​Async(​Nullable<​Time​Span>, ​Cancellation​Token)

Initiates an asynchronous operation that breaks the current lease on this container.

Break​Lease​Async(​Nullable<​Time​Span>, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that breaks the current lease on this container.

Break​Lease​Async(​Nullable<​Time​Span>, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that breaks the current lease on this container.

Change​Lease(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Changes the lease ID on this container.

Change​Lease​Async(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that changes the lease ID on this container.

Change​Lease​Async(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that changes the lease ID on this container.

Change​Lease​Async(​String, ​Access​Condition)

Initiates an asynchronous operation that changes the lease ID on this container.

Change​Lease​Async(​String, ​Access​Condition, ​Cancellation​Token)

Initiates an asynchronous operation that changes the lease ID on this container.

Create(​Blob​Request​Options, ​Operation​Context)

Creates the container.

Create(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context)

Creates the container and specifies the level of access to the container's data.

Create​Async(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that creates a container.

Create​Async()

Initiates an asynchronous operation that creates a container.

Create​Async(​Cancellation​Token)

Initiates an asynchronous operation that creates a container.

Create​Async(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that creates a container and specifies the level of access to the container's data.

Create​If​Not​Exists(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context)

Creates the container if it does not already exist and specifies whether the container or its blobs are publicly accessible.

Create​If​Not​Exists(​Blob​Request​Options, ​Operation​Context)

Creates the container if it does not already exist.

Create​If​Not​Exists​Async()

Initiates an asynchronous operation that creates the container if it does not already exist.

Create​If​Not​Exists​Async(​Cancellation​Token)

Initiates an asynchronous operation that creates the container if it does not already exist.

Create​If​Not​Exists​Async(​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that creates the container if it does not already exist.

Create​If​Not​Exists​Async(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that creates the container if it does not already exist.

Create​If​Not​Exists​Async(​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that creates the container if it does not already exist.

Create​If​Not​Exists​Async(​Blob​Container​Public​Access​Type, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that creates the container if it does not already exist.

Delete(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Deletes the container.

Delete​Async(​Cancellation​Token)

Initiates an asynchronous operation that deletes the container.

Delete​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that deletes the container.

Delete​Async()

Initiates an asynchronous operation that deletes the container.

Delete​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that deletes the container.

Delete​If​Exists(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Deletes the container if it already exists.

Delete​If​Exists​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that deletes the container if it already exists.

Delete​If​Exists​Async()

Initiates an asynchronous operation that deletes the container if it already exists.

Delete​If​Exists​Async(​Cancellation​Token)

Initiates an asynchronous operation that deletes the container if it already exists.

Delete​If​Exists​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that deletes the container if it already exists.

End​Acquire​Lease(​IAsync​Result)

Ends an asynchronous operation to acquire a lease on this container.

End​Break​Lease(​IAsync​Result)

Ends an asynchronous operation to break the current lease on this container.

End​Change​Lease(​IAsync​Result)

Ends an asynchronous operation to change the lease on this container.

End​Create(​IAsync​Result)

Ends an asynchronous operation to create a container.

End​Create​If​Not​Exists(​IAsync​Result)

Returns the result of an asynchronous request to create the container if it does not already exist.

End​Delete(​IAsync​Result)

Ends an asynchronous operation to delete a container.

End​Delete​If​Exists(​IAsync​Result)

Returns the result of an asynchronous request to delete the container if it already exists.

End​Exists(​IAsync​Result)

Returns the asynchronous result of the request to check whether the container exists.

End​Fetch​Attributes(​IAsync​Result)

Ends an asynchronous operation to retrieve the container's attributes.

End​Get​Blob​Reference​From​Server(​IAsync​Result)

Ends an asynchronous operation to get a reference to a blob in this container.

End​Get​Permissions(​IAsync​Result)

Returns the asynchronous result of the request to get the permissions settings for the container.

End​List​Blobs​Segmented(​IAsync​Result)

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

End​Release​Lease(​IAsync​Result)

Ends an asynchronous operation to release the lease on this container.

End​Renew​Lease(​IAsync​Result)

Ends an asynchronous operation to renew a lease on this container.

End​Set​Metadata(​IAsync​Result)

Ends an asynchronous request operation to set user-defined metadata on the container.

End​Set​Permissions(​IAsync​Result)

Returns the result of an asynchronous request to set permissions for the container.

Exists(​Blob​Request​Options, ​Operation​Context)

Checks whether the container exists.

Exists​Async()

Initiates an asynchronous operation that checks whether the container exists.

Exists​Async(​Cancellation​Token)

Initiates an asynchronous operation that checks whether the container exists.

Exists​Async(​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that checks whether the container exists.

Exists​Async(​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that checks whether the container exists.

Fetch​Attributes(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Retrieves the container's attributes.

Fetch​Attributes​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that retrieves the container's attributes.

Fetch​Attributes​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that retrieves the container's attributes.

Fetch​Attributes​Async()

Initiates an asynchronous operation that retrieves the container's attributes.

Fetch​Attributes​Async(​Cancellation​Token)

Initiates an asynchronous operation that retrieves the container's attributes.

Get​Append​Blob​Reference(​String)

Gets a reference to an append blob in this container.

Get​Append​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

Gets a reference to an append blob in this container.

Get​Blob​Reference(​String)

Gets a reference to a blob in this container.

Get​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

Gets a reference to a blob in this container.

Get​Blob​Reference​From​Server(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Gets a reference to a blob in this container.

Get​Blob​Reference​From​Server​Async(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that gets a reference to a blob in this container.

Get​Blob​Reference​From​Server​Async(​String)

Initiates an asynchronous operation that gets a reference to a blob in this container.

Get​Blob​Reference​From​Server​Async(​String, ​Cancellation​Token)

Initiates an asynchronous operation that gets a reference to a blob in this container.

Get​Blob​Reference​From​Server​Async(​String, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that gets a reference to a blob in this container.

Get​Block​Blob​Reference(​String)

Gets a reference to a block blob in this container.

Get​Block​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

Gets a reference to a block blob in this container.

Get​Directory​Reference(​String)

Gets a reference to a virtual blob directory beneath this container.

Get​Page​Blob​Reference(​String)

Gets a reference to a page blob in this container.

Get​Page​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

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

Get​Permissions(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Gets the permissions settings for the container.

Get​Permissions​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that gets the permissions settings for the container.

Get​Permissions​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that gets the permissions settings for the container.

Get​Permissions​Async(​Cancellation​Token)

Initiates an asynchronous operation that gets the permissions settings for the container.

Get​Permissions​Async()

Initiates an asynchronous operation that gets the permissions settings for the container.

Get​Shared​Access​Signature(​Shared​Access​Blob​Policy)

Returns a shared access signature for the container.

Get​Shared​Access​Signature(​Shared​Access​Blob​Policy, ​String)

Returns a shared access signature for the container.

Get​Shared​Access​Signature(​Shared​Access​Blob​Policy, ​String, ​Nullable<​Shared​Access​Protocol>, ​IP​Address​Or​Range)

Returns a shared access signature for the container.

List​Blobs(​String, ​Boolean, ​Blob​Listing​Details, ​Blob​Request​Options, ​Operation​Context)

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

List​Blobs​Segmented(​Blob​Continuation​Token)

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

List​Blobs​Segmented(​String, ​Blob​Continuation​Token)

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

List​Blobs​Segmented(​String, ​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context)

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

List​Blobs​Segmented​Async(​String, ​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that returns a result segment containing a collection of blob items in the container.

List​Blobs​Segmented​Async(​String, ​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that returns a result segment containing a collection of blob items in the container.

List​Blobs​Segmented​Async(​String, ​Blob​Continuation​Token, ​Cancellation​Token)

Initiates an asynchronous operation that returns a result segment containing a collection of blob items in the container.

List​Blobs​Segmented​Async(​Blob​Continuation​Token, ​Cancellation​Token)

Initiates an asynchronous operation that returns a result segment containing a collection of blob items in the container.

List​Blobs​Segmented​Async(​Blob​Continuation​Token)

Initiates an asynchronous operation that returns a result segment containing a collection of blob items in the container.

List​Blobs​Segmented​Async(​String, ​Blob​Continuation​Token)

Initiates an asynchronous operation that returns a result segment containing a collection of blob items in the container.

Release​Lease(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Releases the lease on this container.

Release​Lease​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that releases the lease on this container.

Release​Lease​Async(​Access​Condition, ​Cancellation​Token)

Initiates an asynchronous operation that releases the lease on this container.

Release​Lease​Async(​Access​Condition)

Initiates an asynchronous operation that releases the lease on this container.

Release​Lease​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that releases the lease on this container.

Renew​Lease(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Renews a lease on this container.

Renew​Lease​Async(​Access​Condition)

Initiates an asynchronous operation that renews a lease on this container.

Renew​Lease​Async(​Access​Condition, ​Cancellation​Token)

Initiates an asynchronous operation that renews a lease on this container.

Renew​Lease​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that renews a lease on this container.

Renew​Lease​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that renews a lease on this container.

Set​Metadata(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Sets the container's user-defined metadata.

Set​Metadata​Async()

Initiates an asynchronous operation that sets container's user-defined metadata.

Set​Metadata​Async(​Cancellation​Token)

Initiates an asynchronous operation that sets container's user-defined metadata.

Set​Metadata​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that sets container's user-defined metadata.

Set​Metadata​Async(​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that sets container's user-defined metadata.

Set​Permissions(​Blob​Container​Permissions, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Sets permissions for the container.

Set​Permissions​Async(​Blob​Container​Permissions, ​Cancellation​Token)

Initiates an asynchronous operation that sets permissions for the container.

Set​Permissions​Async(​Blob​Container​Permissions, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation that sets permissions for the container.

Set​Permissions​Async(​Blob​Container​Permissions)

Initiates an asynchronous operation that sets permissions for the container.

Set​Permissions​Async(​Blob​Container​Permissions, ​Access​Condition, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation that sets permissions for the container.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)