C# retrieving a list of blobs from Azure
问题 I need to have some archive cleanup code to remove old Azure logs after a certain retention period has occurred. I am aware that I can do this: CloudStorageAccount storageAccount = CloudStorageAccount.Parse(""); CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer container = blobClient.GetContainerReference("ctr"); var blobList = container.ListBlobs(); foreach(var blob in blobList) { logger.Info($"Blob Name: {blob.Uri}"); } However within my container the