Reputation: 450
I'm using Azure Blob storage .Net client library v11.
My azure blob container has more than 20 million files. Listing blob and getting size of each blob is too much time consuming operation.
Looking for method to directly get the size of blob container.
Upvotes: 1
Views: 1250
Reputation: 30025
No, there is no such api/sdk. Please keep eyes on this github issue.
If you prefer using code, you must calculate them one by one. Here is an exmaple.
Otherwise, you should check it via azure portal UI. There is an "Calculate size" button under each container -> Properties.
Upvotes: 1
Reputation: 1
Sign in the azure portal. In the Azure portal, select Storage accounts. From the list, choose a storage account. In the Monitoring section, choose Insights (preview).
Upvotes: 0