CloudBlobClient.listContainers Method

Definition

Overloads

listContainers()

Returns an enumerable collection of blob containers for this Blob service client.

listContainers(final String prefix)

Returns an enumerable collection of blob containers whose names begin with the specified prefix for this Blob service client.

listContainers(final String prefix, final ContainerListingDetails detailsIncluded, final BlobRequestOptions options, final OperationContext opContext)

Returns an enumerable collection of blob containers whose names begin with the specified prefix for this Blob service client, using the specified details setting, request options, and operation context.

listContainers()

Returns an enumerable collection of blob containers for this Blob service client.

public Iterable<CloudBlobContainer> listContainers()
Returns
Iterable<CloudBlobContainer>

An enumerable collection of CloudBlobContainer objects retrieved lazily that represent the containers for this client.

listContainers(final String prefix)

Returns an enumerable collection of blob containers whose names begin with the specified prefix for this Blob service client.

public Iterable<CloudBlobContainer> listContainers(final String prefix)
Parameters
prefix
final String

A String that represents the container name prefix.

Returns
Iterable<CloudBlobContainer>

An enumerable collection of CloudBlobContainer objects retrieved lazily that represent the containers for this client whose names begin with the specified prefix.

listContainers(final String prefix, final ContainerListingDetails detailsIncluded, final BlobRequestOptions options, final OperationContext opContext)

Returns an enumerable collection of blob containers whose names begin with the specified prefix for this Blob service client, using the specified details setting, request options, and operation context.

public Iterable<CloudBlobContainer> listContainers(final String prefix, final ContainerListingDetails detailsIncluded, final BlobRequestOptions options, final OperationContext opContext)
Parameters
prefix
final String

A String that represents the container name prefix.

detailsIncluded
final ContainerListingDetails

A ContainerListingDetails value that indicates whether container metadata will be returned.

options
final BlobRequestOptions

A BlobRequestOptions object that specifies any additional options for the request. Specifying null will use the default request options from the associated service client ( CloudBlobClient).

opContext
final OperationContext

An OperationContext object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.

Returns
Iterable<CloudBlobContainer>

An enumerable collection of CloudBlobContainer objects retrieved lazily that represents the containers for this client.

Applies to