Skip to content

Conversation

@vincenttran-msft
Copy link
Member

@vincenttran-msft vincenttran-msft commented Nov 19, 2025

  • Mark as playback only once test_legal_hold PR merges with that feature contained.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Nov 19, 2025
@github-actions
Copy link

github-actions bot commented Nov 19, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure_storage_blob

@vincenttran-msft vincenttran-msft marked this pull request as ready for review December 5, 2025 02:29
Copilot AI review requested due to automatic review settings December 5, 2025 02:29
Copilot finished reviewing on behalf of vincenttran-msft December 5, 2025 02:30
Copy link
Contributor

Copilot AI left a 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 adds the get_statistics method to BlobServiceClient, enabling retrieval of replication statistics for blob storage services on secondary endpoints with read-access geo-redundant replication enabled.

Key Changes:

  • Added get_statistics method to BlobServiceClient with proper documentation
  • Added comprehensive test case test_get_service_stats for the new functionality
  • Exported GeoReplication, StorageServiceStats, and BlobServiceClientGetStatisticsOptions types in the models module

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
sdk/storage/azure_storage_blob/tests/blob_service_client.rs Adds test for get_statistics method with secondary endpoint configuration and geo-replication validation
sdk/storage/azure_storage_blob/src/models/mod.rs Exports required types (GeoReplication, StorageServiceStats, BlobServiceClientGetStatisticsOptions) for the new statistics API
sdk/storage/azure_storage_blob/src/clients/blob_service_client.rs Implements public get_statistics method that delegates to the generated client
sdk/storage/azure_storage_blob/assets.json Updates test recording asset tag to include new test recordings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants