CloudBlobClient Class

Definition

Provides a client for accessing the Microsoft Azure Blob service.

This class provides a point of access to the Blob service. The service client encapsulates the base URI for the Blob service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account.

public class CloudBlobClient extends ServiceClient
Inheritance
java.lang.Object
CloudBlobClient

Inherited Members

Constructors

CloudBlobClient(final StorageUri baseUri)

Creates an instance of the class using the specified Blob service endpoint and anonymous credentials.

CloudBlobClient(final StorageUri storageUri, StorageCredentials credentials)

Creates an instance of the class using the specified Blob service endpoint and account credentials.

CloudBlobClient(final URI baseUri)

Creates an instance of the class using the specified Blob service endpoint and anonymous credentials.

CloudBlobClient(final URI baseUri, StorageCredentials credentials)

Creates an instance of the class using the specified Blob service endpoint and account credentials.

Methods

downloadAccountInfo()

Gets information related to the storage account.

downloadAccountInfo(BlobRequestOptions options, OperationContext opContext)

Gets information related to the storage account.

downloadAccountInformationImpl(final RequestOptions options)
downloadServiceProperties()

Retrieves the current ServiceProperties for the given storage service. This includes Logging, HourMetrics, MinuteMetrics and CORS configurations.

downloadServiceProperties(BlobRequestOptions options, OperationContext opContext)

Retrieves the current ServiceProperties for the given storage service. This includes Logging, HourMetrics, MinuteMetrics and CORS configurations.

getContainerReference(final String containerName)

Gets a CloudBlobContainer object with the specified name.

getDefaultRequestOptions()

Gets the BlobRequestOptions that is used for requests associated with this

getDirectoryDelimiter()

Returns the value for the default delimiter used for cloud blob directories. The default is '/'.

getServiceStats()

Queries the service for the ServiceStats.

getServiceStats(BlobRequestOptions options, OperationContext opContext)

Queries the given storage service for the ServiceStats.

isUsePathStyleUris()

Indicates whether path-style URIs are being used.

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.

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.

setDefaultRequestOptions(BlobRequestOptions defaultRequestOptions)

Sets the BlobRequestOptions that is used for any requests associated with this object.

setDirectoryDelimiter(final String directoryDelimiter)

Sets the value for the default delimiter used for cloud blob directories.

uploadServiceProperties(final ServiceProperties properties)

Uploads a new ServiceProperties configuration to the given storage service. This includes Logging, HourMetrics, MinuteMetrics and CORS configurations.

uploadServiceProperties(final ServiceProperties properties, BlobRequestOptions options, OperationContext opContext)

Uploads a new ServiceProperties configuration to the given storage service. This includes Logging, HourMetrics, MinuteMetrics and CORS configurations.

Applies to