-
Notifications
You must be signed in to change notification settings - Fork 316
[Storage] Lease operations for BlobClient
and BlobContainerClient
, feature parity for AppendBlobClient
#2739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Storage] Lease operations for BlobClient
and BlobContainerClient
, feature parity for AppendBlobClient
#2739
Conversation
…s bag extension methods
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
BlobClient
and BlobContainerClient
BlobClient
and BlobContainerClient
, feature parity for AppendBlobClient
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces lease management operations to BlobClient
and BlobContainerClient
and adds full append-blob support to AppendBlobClient
. It includes new API methods, updated models, and end-to-end tests for these features.
- Added
acquire_lease
,break_lease
,change_lease
,release_lease
, andrenew_lease
methods (and related options/results) for blobs and containers - Completed
AppendBlobClient
withappend_block
,append_block_from_url
, andseal
methods - Expanded test suites to cover leasing and append-blob workflows
Reviewed Changes
Copilot reviewed 9 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
tsp-location.yaml | Updated commit hash for spec linkage |
tests/blob_container_client.rs | Added lease operation imports and new container lease test |
tests/blob_client.rs | Added blob lease tests and lease-aware operation tests |
tests/append_blob_client.rs | Added append-block, append-from-url, and seal tests for append blobs |
src/models/mod.rs | Expanded model exports for lease and append-blob operations |
src/clients/blob_container_client.rs | Implemented container lease methods and docs |
src/clients/blob_client.rs | Implemented blob lease methods and docs |
src/clients/append_blob_client.rs | Implemented append-blob methods and docs |
assets.json | Bumped SDK assets tag |
.tsp
: Azure/azure-rest-api-specs#35564Leasing Operations
BlobClient
andBlobContainerClient
acquire_lease
,break_lease
,change_lease
,release_lease
, andrenew_lease
BlobClient
Lease Operations:acquire_lease
break_lease
change_lease
release_lease
renew_lease
BlobContainerClient
Lease Operations:acquire_lease
break_lease
change_lease
release_lease
renew_lease
AppendBlobClient APIs
AppendBlobClient
to make it more usable beyond initially introducedcreate
APIappend_block
,append_block_from_url
, andseal
append_block
append_block_from_url
seal