Share via

right api for getting list container info

Naveen Kumar 1 Reputation point
2022-01-20T10:43:45.503+00:00
Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.


1 answer

Sort by: Most helpful
  1. Ravi Kanth Koppala 3,471 Reputation points Microsoft Employee Moderator
    2022-01-20T11:28:57.97+00:00

    @Naveen Kumar ,
    The Microsoft Azure storage services support multiple versions. To make a request against the storage services, you must specify the version that you want to use for that operation unless the request is anonymous. The current version of the Azure storage services is 2020-12-06, and using that version is recommended where possible. Each version comes with new features exposed with REST API. For example, the ability to specify the Signed Encryption Scope (SES) SAS parameter for Account SAS, Service SAS, and User Delegation SAS is only available in the recent version. A list of all other supported versions can be found at https://learn.microsoft.com/en-us/rest/api/storageservices/previous-azure-storage-service-versions

    If you want to access core Storage using blob service REST API, you can refer to the URL - https://learn.microsoft.com/en-us/rest/api/storageservices/blob-service-rest-api

    if you want to access storage using Azure Storage Resource Provider REST API Reference (The Storage Resource Provider access to management resources for Azure Storage and requires all requests to be versioned. To make a request against the SRP, you must specify the version that you want to use for that operation. ) then please refer to the URL - https://learn.microsoft.com/en-us/rest/api/storagerp/blob-containers

    Answering your question, if you are using REST API to access Azure storage management resources then use Azure Storage Resource Provider REST API and if we want to perform basic operations on Storage objects use blob service REST API.

    I hope I answered your question. Please let me know if you have any questions.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.