BlockBlobClientLike interface
An interface compatible with Storage Blob's BlockBlobClient class.
Methods
set |
Sets user-defined metadata for the specified blob as one or more name-value pairs. |
upload(Request |
Creates a new block blob, or updated the content of an existing block blob. |
Method Details
setMetadata(Metadata, BlobSetMetadataOptions)
Sets user-defined metadata for the specified blob as one or more name-value pairs.
function setMetadata(metadata?: Metadata, options?: BlobSetMetadataOptions): Promise<ContainerSetMetadataResponse>
Parameters
- metadata
- Metadata
- options
- BlobSetMetadataOptions
Returns
Promise<ContainerSetMetadataResponse>
upload(RequestBodyType, number, BlockBlobUploadOptions)
Creates a new block blob, or updated the content of an existing block blob.
function upload(body: RequestBodyType, contentLength: number, options?: BlockBlobUploadOptions): Promise<BlockBlobUploadResponse>
Parameters
- body
- RequestBodyType
- contentLength
-
number
- options
- BlockBlobUploadOptions
Returns
Promise<BlockBlobUploadResponse>