-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Storage] STG 101 Features #44320
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] STG 101 Features #44320
Conversation
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 pull request implements "STG 101 Features" by adding support for Azure Storage service version 2026-04-06 across multiple storage SDKs (Queue, File Share, Data Lake, and Blob). The changes introduce several new features including delegated user tenant ID support for user delegation keys, source encryption key support for copy operations, access tier conditional delete operations, and enhanced documentation for content validation options.
Key Changes:
- Updates API version from 2026-02-06 to 2026-04-06 across all storage services
- Adds
delegated_user_tidparameter to user delegation key operations - Adds
source_cpkparameter for customer-provided encryption keys in source blob operations - Adds access tier conditional parameters (
access_tier_if_modified_since,access_tier_if_unmodified_since) for blob deletion - Updates storage error codes and adds new file share provisioning error codes
- Improves
validate_contentparameter documentation with detailed explanation of checksum options - Updates type hints from
IO[AnyStr]toIO[bytes]for consistency
Reviewed changes
Copilot reviewed 87 out of 87 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Queue Storage | |
_queue_service_client.py / _queue_service_client_async.py |
Adds delegated_user_tid parameter to get_user_delegation_key() method |
_shared/response_handlers.py |
Parses signed_delegated_user_tid from service response |
_shared/models.py |
Adds signed_delegated_user_tid field to UserDelegationKey model and new error codes |
_serialize.py |
Adds 2026-04-06 to supported API versions list |
_generated/ files |
Updates default API version literal from 2026-02-06 to 2026-04-06 |
| File Share Storage | |
_share_service_client.py / _share_service_client_async.py |
Adds delegated_user_tid parameter to get_user_delegation_key() |
_file_client.py / _file_client_async.py |
Updates type hints and enhances validate_content documentation |
_shared/ files |
Mirrors queue storage changes for models and response handlers |
| Data Lake Storage | |
_data_lake_service_client.py / _data_lake_service_client_async.py |
Adds delegated_user_tid parameter forwarding to blob service client |
_data_lake_file_client.py / _data_lake_file_client_async.py |
Updates type hints and validate_content documentation |
_shared_access_signature.py |
Adds request_headers and request_query_params parameters to SAS generation functions |
| Blob Storage | |
_blob_service_client.py / _blob_service_client_async.py |
Adds delegated_user_tid parameter to get_user_delegation_key() |
_blob_client.py / _blob_client_async.py |
Adds source_cpk, access tier conditionals, updates type hints and documentation |
_blob_client_helpers.py |
Implements source_cpk parameter handling in helper functions |
_shared_access_signature.py |
Adds request_headers and request_query_params to SAS generation |
tests/test_cpk.py |
Adds commented test for append block with rekeying |
tests/test_common_blob.py / test_common_blob_async.py |
Adds tests for access tier conditional delete |
tests/fake_credentials.py |
Adds new CPK key constants for testing |
_generated/ files |
Updates API version, adds source encryption parameters, access tier conditionals |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews azure-storage-blob |
…incipal Bound SAS (#44364)
|
/azp run python - storage - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.