[QUERY] How to get total count of blobs size in a container? #40089
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Hi,
I have a requirement to get the sum of all blobs size for each container. I know I can calculate the size by listing all blobs and summing up all of them to get the container size, but that is too complex on the code level as each blob can have lot of versions and soft deleted blobs within the container etc. I would like to know if there is any way, where in i can just make one api call per container to get the total size of the container (sum of all blobs size)?
Thanks in advance.
The text was updated successfully, but these errors were encountered: