CloudBlobClient.listContainersSegmented Method

Definition

Overloads

listContainersSegmented()

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

listContainersSegmented(final String prefix)

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

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

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

listContainersSegmented()

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

public ResultSegment<CloudBlobContainer> listContainersSegmented()
Returns

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

Exceptions

If a storage service error occurred.

listContainersSegmented(final String prefix)

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

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

A String that represents the prefix of the container name.

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.

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 of an enumerable collection of blob containers whose names begin with the specified prefix for this Blob service client, 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 value that indicates whether container metadata will be returned.

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 for this Blob service client.

Exceptions

If a storage service error occurred.