CloudBlobContainer.getBlockBlobReference Method

Definition

Overloads

getBlockBlobReference(final String blobName)

Returns a reference to a CloudBlockBlob object that represents a block blob in this container.

getBlockBlobReference(final String blobName, final String snapshotID)

Returns a reference to a CloudBlockBlob object that represents a block blob in this container, using the specified snapshot ID.

getBlockBlobReference(final String blobName)

Returns a reference to a CloudBlockBlob object that represents a block blob in this container.

public CloudBlockBlob getBlockBlobReference(final String blobName)
Parameters
blobName
final String

A String that represents the name of the blob.

Returns

A CloudBlockBlob object that represents a reference to the specified block blob.

Exceptions

If a storage service error occurred.

URISyntaxException

If the resource URI is invalid.

getBlockBlobReference(final String blobName, final String snapshotID)

Returns a reference to a CloudBlockBlob object that represents a block blob in this container, using the specified snapshot ID.

public CloudBlockBlob getBlockBlobReference(final String blobName, final String snapshotID)
Parameters
blobName
final String

A String that represents the name of the blob.

snapshotID
final String

A String that represents the snapshot ID of the blob.

Returns

A CloudBlockBlob object that represents a reference to the specified block blob.

Exceptions

If a storage service error occurred.

URISyntaxException

If the resource URI is invalid.