An Azure service that stores unstructured data in the cloud as blobs.
Hi @ SHIJO BLESSWIN,
Welcome to Microsoft Q&A Platform.
It looks like you're diving deep into Azure Blob Storage pricing details for your cost optimization system. Here’s a breakdown of what you can do and some key resources:
Recommended Approach:
Azure Pricing Calculator: While you're looking for an API solution, the Azure Pricing Calculator can give you a good estimate across different tiers and can also be tailored to specific regions and redundancy options. However, this is more of a manual solution, not programmatic.
Azure REST APIs: Unfortunately, there isn't a comprehensive REST API that reliably provides all the pricing details, but you can utilize various resources and tables from Microsoft documentation for programmatic access to specific pricing components, such as:
- Calculate costs related to different tiers: Hot, Cool, Cold, Archive.
- Operation costs for read, write, list, and retrieval, which you can find in the relevant documentation.
- Documentation for Pricing Components: To help you with the specifics, you can directly refer to the following links for detailed pricing:
- Estimate the cost of Azure Blob Storage
- Estimate the cost of archiving data Azure Blob Storage Pricing Page
You can use the new 2023-01-01-preview API version at https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview. The preview version is backward compatible with previous API versions. The URL returns the full set of meters, including primary meters and nonprimary meters.
Using either https://prices.azure.com/api/retail/prices or https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview returns the full set of meters.
Rates for savings plans are only available with the https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview version.
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.