CloudBlobContainer.listContainers Method

Definition

Overloads

listContainers()

Returns an enumerable collection of containers for the service client associated with this container.

listContainers(final String prefix)

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

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

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

listContainers()

Returns an enumerable collection of containers for the service client associated with this container.

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

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

listContainers(final String prefix)

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

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 whose names begin with the specified prefix for the service client associated with this container.

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

Returns an enumerable collection of containers whose names begin with the specified prefix for the service client associated with this container, 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 the service client associated with this container.