News: 1618470341

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Azure adds programmatic pricing API to help you sniff out global deals

(2021/04/15)


Microsoft has tweaked its Retail Rates API to offer retail pricing information for all Azure services in currencies other than the US dollar.

“Azure customers have been looking for a programmatic way to retrieve retail prices for all Azure services in different currencies,” because until now learning Azure prices has required either the Azure Pricing Calculator or use the Azure portal.

[1]

Those tools are rather hands-on. Yet Azure has 54 regions and over 6,000 services.

The new API, currently in public preview, makes Azure prices available at https://prices.azure.com/api/retail/prices .

[2]

There’s syntax to learn if you want to make this work, in the form of the following filters:

armRegionName

Location

meterId

meterName

productid

skuId

productName

skuName

serviceName

serviceId

serviceFamily

priceType

armSkuName

As an example of that lot at work, here’s how to find prices for compute resources in Euros:

https://prices.azure.com/api/retail/prices?currencyCode='EUR'&$filter=serviceFamily eq 'Compute' .

Output is in JSON: {

“;currencyCode”;: “;USD”;,

“;tierMinimumUnits”;: 0.0,

“;retailPrice”;: 0.176346,

“;unitPrice”;: 0.176346,

“;armRegionName”;: “;westeurope”;,

“;location”;: “;EU West”;,

“;effectiveStartDate”;: “;2020-08-01T00:00:00Z”;,

“;meterId”;: “;000a794b-bdb0-58be-a0cd-0c3a0f222923”;,

“;meterName”;: “;F16s Spot”;,

“;productId”;: “;DZH318Z0BQPS”;,

“;skuId”;: “;DZH318Z0BQPS/00TG”;,

“;productName”;: “;Virtual Machines FS Series Windows”;,

“;skuName”;: “;F16s Spot”;,

“;serviceName”;: “;Virtual Machines”;,

“;serviceId”;: “;DZH313Z7MMC8”;,

“;serviceFamily”;: “;Compute”;,

“;unitOfMeasure”;: “;1 Hour”;,

“;type”;: “;DevTestConsumption”;,

“;isPrimaryMeterRegion”;: true,

“;armSkuName”;: “;Standard_F16s”;

}

Why JSON? Because Microsoft thinks you’ll “create your own tools for internal analysis and price comparison across SKUs and regions.”

Which may be a bit of a stretch for many, especially as big Azure users tend to negotiate prices rather than rely on retail rates.

The supported currencies are:

US dollar

Australian dollar

Brazilian real

Canadian dollar

Swiss franc

Chinese yuan

Danish krone

Euros

British pound

Indian rupee

Japanese yen

Korean won

Norwegian krone

New Zealand dollar

Russian ruble

Swedish krona

Taiwan dollar

[3]

Microsoft's not said when the service will exit preview and become official. ®

Get our [4]Tech Resources



[1] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offprem/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YHgOvukP4UlNsSrY5qRt4gAAAAk&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offprem/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YHgOvukP4UlNsSrY5qRt4gAAAAk&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offprem/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YHgOvukP4UlNsSrY5qRt4gAAAAk&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[4] https://whitepapers.theregister.com/

A Plan for the Improvement of English Spelling
misattributed to Mark Twain

For example, in Year 1 that useless letter "c" would be dropped
to be replased either by "k" or "s", and likewise "x" would no longer
be part of the alphabet. The only kase in which "c" would be retained
would be the "ch" formation, which will be dealt with later. Year 2
might reform "w" spelling, so that "which" and "one" would take the
same konsonant, wile Year 3 might well abolish "y" replasing it with
"i" and Iear 4 might fiks the "g/j" anomali wonse and for all.
Jenerally, then, the improvement would kontinue iear bai iear
with Iear 5 doing awai with useless double konsonants, and Iears 6-12
or so modifaiing vowlz and the rimeining voist and unvoist konsonants.
Bai Iear 15 or sou, it wud fainali bi posibl tu meik ius ov thi
ridandant letez "c", "y" and "x" -- bai now jast a memori in the maindz
ov ould doderez -- tu riplais "ch", "sh", and "th" rispektivli.
Fainali, xen, aafte sam 20 iers ov orxogrefkl riform, wi wud
hev a lojikl, kohirnt speling in ius xrewawt xe Ingliy-spiking werld.