@JT One Admin
If you are using the .net SDK please see if this code might work for your use case:
public static class BlobContainerClientExtensions
{
public static async IAsyncEnumerable<string?> GetVersions(this BlobContainerClient blobContainerClient, string blobName)
{
var resultSegment = blobContainerClient.GetBlobsAsync(BlobTraits.None, BlobStates.Version, prefix: blobName).AsPages(default, 100);
await foreach (var blobPage in resultSegment)
foreach (var blobItem in blobPage.Values)
yield return blobItem.VersionId;
}
}
The easiest way to view the versions of an individual blob would be to use Storage Explorer. To view a blob's versions, select the blob you want to view versions for and select Manage History → Manage Versions from either the toolbar or the context menu.
Hope this helps. Let us know if you have further questions or issues.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.