How to get the Blob Index Tag using Azure Blob dll

Saad 0 Reputation points
2024-04-18T08:45:15.4933333+00:00

I have to get the Azure Blob file Index tag using Microsoft Azure Blob dll.

Could you please help me how to achieve this in C#

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,431 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. KarishmaTiwari-MSFT 18,522 Reputation points Microsoft Employee
    2024-04-23T17:53:38.1966667+00:00

    @Saad Are you looking for a way to retrieve all blob index tags for a single blob via Azure Storage client libraries for .NET?

    To get all blob index tags associated with a specific blob, we can use below .NET SDK methods:

    1. BlobBaseClient.GetTags(BlobRequestConditions, CancellationToken) Method (Azure.Storage.Blobs.Specialized) - Azure for .NET Developers | Microsoft Learn
    2. BlobBaseClient.GetTagsAsync(BlobRequestConditions, CancellationToken) Method (Azure.Storage.Blobs.Specialized) - Azure for .NET Developers | Microsoft Learn

    You need to create a blob client with blob name and then you can call one of the above methods to get blob index tags.

    Using API, Blob index tags for a single blob can be retrieved with the Get Blob Tags operation.


    If you have questions, please let me know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    Please don’t forget to "Accept Answer" and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members for remediation for similar issues.

    User's image

    0 comments No comments