Operations on blobs

Azure Storage provides REST operations for working with blobs in the Blob service.

In this section

This section contains reference information for operations on block blobs, append blobs, and page blobs.

Operations on block blobs, append blobs, and page blobs

Put Blob
Creates a new blob or replaces an existing blob within a container.

Get Blob
Reads or downloads a blob from the Blob service, including its user-defined metadata and system properties.

Get Blob Properties
Returns all user-defined metadata, standard HTTP properties, and system properties for a blob.

Set Blob Properties
Sets values for system properties that are defined for a blob.

Get Blob Tags
Returns all user-defined blob index tags for a specified blob, version, or snapshot.

Set Blob Tags
Sets user-defined blob index tags for a specified blob as one or more key-value pairs.

Find Blobs By Tags
Finds all blobs in the storage account whose tags match a specified search expression.

Get Blob Metadata
Returns all user-defined metadata for a specified blob.

Set Blob Metadata
Sets user-defined metadata for a specified blob as one or more name-value pairs.

Lease Blob
Establishes and manages a lock on write and delete operations. To delete or write to a locked blob, a client must provide the lease ID.

Snapshot Blob
Creates a snapshot of a blob.

Copy Blob
Copies a blob to a destination within the storage account.

Copy Blob From URL Copies a blob to a destination within the storage account synchronously for source blob sizes of up to 256 mebibytes (MiB).

Abort Copy Blob
Aborts a pending Copy Blob operation, and leaves a destination blob with zero length and full metadata.

Delete Blob
Marks a specified blob for deletion.

Undelete Blob Restores the contents and metadata of a soft deleted blob and any associated soft deleted snapshots.

Set Blob Tier
Sets the access tier of a blob.

Blob Batch Performs multiple API calls within a single request.

Operations on block blobs

Put Block
Creates a new block to be committed as part of a block blob.

Put Block From URL
Creates a new block to be committed as part of a block blob where the contents are read from a URL.

Put Block List
Commits a block blob by specifying the set of block IDs that make up a blob.

Get Block List
Retrieves the list of blocks that have been uploaded as part of a block blob.

Query Blob Contents
Applies a simple Structured Query Language (SQL) statement on a blob's contents and returns only the queried subset of the data.

Operations on page blobs

Put Page
Writes a range of pages into a page blob.

Put Page From URL Writes a range of pages to a page blob where the contents are read from a URL.

Get Page Ranges
Returns a list of valid page ranges for a page blob or a snapshot of a page blob.

Incremental Copy Blob
Copies a snapshot of a source page blob to a destination page blob. Only differential changes are transferred.

Operations on append blobs

Append Block
Appends a block as part of an append blob.

Append Block from URL Appends a block as part of an append blob where the contents are read from a URL.

See also

Blob service concepts