AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Retail pricing calculator2/18/2024 This is most of the fields returned in the response and gives us a good bit of query power. Thankfully a number of filters can be applied using OData filter expressions. Unfiltered the base API URL just returns all prices for all services across all regions in batches of 100. Let’s now look at how we can pull out only specific prices we care about. Price details for operations such as read and list and create container are contained in their own line item so to get an all in view of blob storage prices you’ll need to examine multiple entries. Also note the unitOfMeasure field (line 18) which shows 10k. We can see the estimated price is $0.2 per 10,000 write operations.Īnd here’s the corresponding entry in the Azure price API… Notice meterName explicitly calling out that this entry is for cool gzrs write operations. Note the meterName and skuName fields which are the main differentiators to single write region provisioned Cosmos databases.Īs a final example, shown below is the pricing calculator for cool blob storage with geo-zone-redundant storage (GZRS) redundancy based in the North Europe region. This could be a consequence of the API being in preview or more likely I just missed something on my side.īelow shows the pricing calculator for a standard provisioned Cosmos DB in North Europe with the multiple region write option set.Īnd the equivalent in the pricing API is below. Cosmos DBĬosmos DB pricing can be confusing at the best of time and I did find a number of entries in the price API that I couldn’t link back to the pricing calculator and vice versa. The unitOfMeasure on line 19 says 1 hour but the price given is per year so watch out for this. The price on line 5 in this case is $1351, this is the per year cost. Note the reservation term is 1 year as shown on line 4. We can see a price of $0.1542 per hour and here’s the equivalent entry in the Azure price API. Here’s the Linux VM from above but with 1 year reserved pricing. Reservation pricing can be a great way to reduce your VM cost footprint if you have steady and predictable workloads. Reservation pricing if you don’t know allows you to get a discount on your VM compute costs by buying compute time in advance in 1 or 3 year blocks. Lets take a look a what reservation prices look like. The JSON for the same VM on Windows is very similar but we can see that ‘Windows’ is appended into the productName field (line 13). Other possible types are Reservationand DevTestConsumption. The type highlighted on line 19, is Consumptionwhich is the equivalent of pay as you go option in the price calculator. Note the Azure Pricing API currently only supports USD. We can see the prices match, both being $0.226 per hour (see line 2, 4 and 18 above). Virtual Machinesīelow we see from the pricing calculator that a standard Linux F4 VM based in North Europe costs $0.226 per hour.Īnd the output from the Azure pricing API for the same VM is below. The endpoint is and below I’ll compare API output to a few examples from the pricing calculator. NET mocking library do you use? August 12, 2023 Use Target Typed New Expressions to infer type on the right in C# 9 + August 13, 2023.Share settings across multiple projects using a file August 13, 2023.How to treat all warnings as compile errors in.Do you use a mocking framework or manually create your mocks? August 13, 2023.7 Cognitive biases influencing our software development decisions August 13, 2023.NET devs moving away from Moq after #moqgate? August 13, 2023 NET developers rely too much on third party libraries from NuGet? August 13, 2023
0 Comments
Read More
Leave a Reply. |