CloudBlobContainer.listContainersSegmented Method

Definition

Overloads

listContainersSegmented()

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

listContainersSegmented(final String prefix)

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

listContainersSegmented(final String prefix, final ContainerListingDetails detailsIncluded, final Integer maxResults, final ResultContinuation continuationToken, final BlobRequestOptions options, final OperationContext opContext)

Returns a result segment containing a collection of containers whose names begin with the specified prefix for the service client associated with this container, using the specified listing details options, request options, and operation context.

listContainersSegmented()

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

public ResultSegment<CloudBlobContainer> listContainersSegmented()
Returns

A ResultSegment object that contains a segment of the enumerable collection of CloudBlobContainer objects that represent the containers for the service client associated with this container.

Exceptions

If a storage service error occurred.

listContainersSegmented(final String prefix)

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

public ResultSegment<CloudBlobContainer> listContainersSegmented(final String prefix)
Parameters
prefix
final String

A String that represents the blob name prefix.

Returns

A ResultSegment object that contains a segment of the enumerable collection of CloudBlobContainer objects that represent the containers whose names begin with the specified prefix for the service client associated with this container.

Exceptions

If a storage service error occurred.

listContainersSegmented(final String prefix, final ContainerListingDetails detailsIncluded, final Integer maxResults, final ResultContinuation continuationToken, final BlobRequestOptions options, final OperationContext opContext)

Returns a result segment containing a collection of containers whose names begin with the specified prefix for the service client associated with this container, using the specified listing details options, request options, and operation context.

public ResultSegment<CloudBlobContainer> listContainersSegmented(final String prefix, final ContainerListingDetails detailsIncluded, final Integer maxResults, final ResultContinuation continuationToken, final BlobRequestOptions options, final OperationContext opContext)
Parameters
prefix
final String

A String that represents the prefix of the container name.

detailsIncluded
final ContainerListingDetails

A ContainerListingDetails object that indicates whether metadata is included.

maxResults
final Integer

The maximum number of results to retrieve. If null or greater than 5000, the server will return up to 5,000 items. Must be at least 1.

continuationToken
final ResultContinuation

A ResultContinuation object that represents a continuation token returned by a previous listing operation.

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

A ResultSegment object that contains a segment of the enumerable collection of CloudBlobContainer objects that represent the containers whose names begin with the specified prefix for the service client associated with this container.

Exceptions

If a storage service error occurred.

Applies to