开发者

How to list Azure blob snapshots with .Net client

开发者 https://www.devze.com 2022-12-26 07:40 出处:网络
In the REST interface 开发者_StackOverflowfor Azure blobs, when you request a list of blobs there is a parameter for specifying that you want to list snapshots.Has this been exposed anywhere in the .N

In the REST interface 开发者_StackOverflowfor Azure blobs, when you request a list of blobs there is a parameter for specifying that you want to list snapshots. Has this been exposed anywhere in the .Net client?


See http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.storageclient.bloblistingdetails.aspx.

I think you want something like

container.ListBlobs(new BlobRequestOptions() { BlobListingDetails = BlobListingDetails.Snapshots });

(Sorry if that code isn't quite right... don't have VS open.)

0

精彩评论

暂无评论...
验证码 换一张
取 消