Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.48k stars 4.81k forks source link

[FEATURE REQ] [REST API parity] Blob list support BlobTraits.Permissions #46063

Open wangyuantao opened 1 month ago

wangyuantao commented 1 month ago

Library name

Azure.Storage.Blob

Please describe the feature.

To export ACLs of blobs from ADLS efficiently, we hope to use list blobs API to do in batch. https://learn.microsoft.com/en-us/rest/api/storageservices/list-blobs image

However, we cannot do that via SDK, because BlobTraits is not parity with REST API - missing include=permissions. https://learn.microsoft.com/en-us/dotnet/api/azure.storage.blobs.models.blobtraits?view=azure-dotnet image

When request becomes parity, we also need the response to be parity: BlobItemProperties.AccessControlList should be added See the REST API response image image

map to SDK response https://learn.microsoft.com/en-us/dotnet/api/azure.storage.blobs.models.blobitemproperties?view=azure-dotnet

github-actions[bot] commented 1 month ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.