need to understand difference between below api's containers Api

Naveen Kumar 1 Reputation point
2022-01-20T10:41:48.827+00:00
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,671 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,417 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,088 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ravi Kanth Koppala 3,231 Reputation points Microsoft Employee
    2022-01-20T11:30:46.777+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.

    0 comments No comments

  2. Limitless Technology 39,341 Reputation points
    2022-01-21T10:18:33.997+00:00

    Hi there,

    First, you need to understand how the API results are returned. By default, a listing operation returns up to 5000 results at a time. To return a smaller set of results, provide a nonzero value for the size of the page of results to return.

    If your storage account contains more than 5000 containers, or if you have specified a page size such that the listing operation returns a subset of containers in the storage account, then Azure Storage returns a continuation token with the list of containers. A continuation token is an opaque value that you can use to retrieve the next set of results from Azure Storage.

    List Containers - Indicates full public read access for container and blob data. Clients can enumerate blobs within the container via anonymous request, but cannot enumerate containers within the storage account.


    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments