CloudBlob.uploadMetadata Method

Definition

Overloads

uploadMetadata()

Uploads the blob's metadata to the storage service.

Use CloudBlob#downloadAttributes to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

uploadMetadata(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Uploads the blob's metadata to the storage service using the specified lease ID, request options, and operation context.

Use CloudBlob#downloadAttributes to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

uploadMetadata()

Uploads the blob's metadata to the storage service.

Use CloudBlob#downloadAttributes to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

public final void uploadMetadata()
Returns
final void
Exceptions

If a storage service error occurred.

uploadMetadata(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Uploads the blob's metadata to the storage service using the specified lease ID, request options, and operation context.

Use CloudBlob#downloadAttributes to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

public final void uploadMetadata(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)
Parameters
accessCondition
final AccessCondition

An AccessCondition object that represents the access conditions for the blob.

options
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
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
final void
Exceptions

If a storage service error occurred.