Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions sdk/storage/azure_storage_blob/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@

### Features Added

- Updated the default service version to `2026-10-06`.
- Added support for `get_user_delegation_key` to `BlobServiceClient`.
- Added support for `list_blobs_hierarchical` to `BlobContainerClient`.
- Added support for `list_page_ranges` to `PageBlobClient`.

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added `access_tier`, `access_tier_changed_on`, `access_tier_inferred`, and `smart_access_tier` to `BlobDownloadProperties`.
- `BlockBlobClient::upload_blob_from_url()` now returns the `content_crc64` response header alongside `content_md5` when applicable.
Comment thread
vincenttran-msft marked this conversation as resolved.
Outdated

## 1.0.0 (2026-05-13)

Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azure_storage_blob/assets.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "rust",
"Tag": "rust/azure_storage_blob_a7042c9ee6",
"Tag": "rust/azure_storage_blob_d5b6a3c697",
"TagPrefix": "rust/azure_storage_blob"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions sdk/storage/azure_storage_blob/src/models/download_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,23 @@ pub struct BlobDownloadProperties {
/// Base64-encoded SHA-256 hash of the customer-provided encryption key
/// used to encrypt the blob (`x-ms-encryption-key-sha256` header).
pub encryption_key_sha256: Option<String>,

/// The access tier of the blob (`x-ms-access-tier` header).
pub access_tier: Option<String>,
Comment thread
vincenttran-msft marked this conversation as resolved.
Outdated

/// Date/time the access tier was last changed (`x-ms-access-tier-change-time` header).
///
/// Only returned if the tier on the blob was ever set.
pub access_tier_changed_on: Option<OffsetDateTime>,

/// Whether the access tier was inferred rather than explicitly set
/// (`x-ms-access-tier-inferred` header).
pub access_tier_inferred: Option<bool>,

/// The underlying tier of a smart tier blob (`x-ms-smart-access-tier` header).
///
/// Only returned if the blob is in the Smart tier.
pub smart_access_tier: Option<String>,
Comment thread
vincenttran-msft marked this conversation as resolved.
Outdated
}

impl BlobClientDownloadResult {
Expand Down Expand Up @@ -270,6 +287,15 @@ impl BlobDownloadProperties {
.get_optional_as(&HeaderName::from_static("x-ms-encryption-scope"))?,
encryption_key_sha256: headers
.get_optional_as(&HeaderName::from_static("x-ms-encryption-key-sha256"))?,
access_tier: headers.get_optional_as(&HeaderName::from_static("x-ms-access-tier"))?,
access_tier_changed_on: headers.get_optional_with(
&HeaderName::from_static("x-ms-access-tier-change-time"),
|h| parse_rfc7231(h.as_str()),
)?,
access_tier_inferred: headers
.get_optional_as(&HeaderName::from_static("x-ms-access-tier-inferred"))?,
smart_access_tier: headers
.get_optional_as(&HeaderName::from_static("x-ms-smart-access-tier"))?,
metadata,
object_replication_rules,
})
Expand Down
Loading
Loading