Created
April 20, 2020 10:50
-
-
Save manualbashing/72b15f9fbdcc6a37ecc40b8fcdd0e2d7 to your computer and use it in GitHub Desktop.
List Blobs in Azure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const containerName = "..."; | |
const blobService = storage.createBlobService(); | |
blobService.listBlobsSegmented(containerName, null, function (error, results) { | |
if (results) { | |
for (var i = 0, blob; blob = results.entries[i]; i++) { | |
// Work with blob item .. could be page blob, block blob, etc. | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment