How to compute Azure Storage Container Size in Java?
问题 While the following link details the way you can compute the storage size using C#, I don't see similar methods in Java. Appreciate if someone can post a sample code for Java please. Azure Storage container size 回答1: Here is my sample code. For more details, please refer to the javadocs of Azure Storage SDK for Java. String accountName = "<your-storage-account-name>"; String accountKey = "<your-storage-account-key>"; String storageConnectionString = "DefaultEndpointsProtocol=https;AccountName