Azure / BillingCodeSamples

52 stars 24 forks source link

Not having a RateCard for a specific Scenario #9

Open uvirk opened 9 years ago

uvirk commented 9 years ago

Hello!

I have been having an issue with the Azure RateCard Billing API. Based on my specific OfferDurableID, I get about 1400 different Meters, telling me about different Meters from AU to Japan to the US. However, I cannot find specific RateCards such as a simple Web App or a SQL Database. Each of the RateCards are very specific when it comes to how many cores the VM has, but I cannot get the pricing/meterRates of a simple Web Application or SQL Server.

Can anyone shed some light on how to get the cost of a certain resource from a RateCard? Thanks.

sirishap commented 9 years ago

Hi uvrik, If you are unable to find specific meters in the Rate Card response, most likely they were either retired or renamed. For instance Azure Websites were recently renamed to App services. Following are some of the GUIDs related to Web application and SQL server meters that you were looking for. Please let me know if this was of any help. Look forward to your feedback

App Service:

c0f5cb45-6fb1-41c9-8545-72ad400d9da4 cd62efa3-2376-475e-bd53-2b5a3b6a1f86 81e3c8e4-c529-4a9b-b060-dd4181dcb4ee f1b450b4-7ad0-4b8a-9a10-96395fe8b67d b699d0d7-798e-48e1-96aa-6c85d1fde13d 1f68c2e0-76e5-4d27-a12e-99a5be9a9aaa 7ce53686-7c67-470b-ae6f-3996cbb02fbb 96de8d2f-46c1-4249-90a7-532f7824eb1d 8fbcd0b0-01a3-4601-87f0-7e653955a56f 4d6396e8-f52e-4505-986f-dde9e1bbb62a 0a06f0bc-935b-48cc-b186-6c0fc958af57 fed263f7-bf07-4463-9976-58b1657efa02 7fadaaec-3afd-4afb-89a7-cdb1e3cb702b f180ce13-b916-435a-b4c9-eb4388c43326 538e08d3-d404-4ae1-9ed7-f6349d11d4e8 6691a6aa-73bf-4d66-91fb-356bf4b894ed fab075bb-b179-48e5-8715-38be9f196f27 ba5ea988-bc12-4945-a8ab-1d20074f9a98 4f1fa8fe-ffed-48fa-9969-26a150775b60 54e4a052-cd51-475c-b7df-d4772343fb3d 67d6a019-8ef6-4aaf-95f6-bc722c3a264d f93e0c84-948e-4eb7-8b2f-54593ab43964 d2e2622a-0a31-40cf-9e8b-bb2eb164614b e62cad52-77ae-4ad2-983f-f376a3a55cc3 64d48263-32ab-4359-b05b-8626b0974e17

SQL:

14efde27-264a-44d2-a15c-8bd2cdb73481 84e893c3-2017-4670-8318-6306c51a80b5 552764bc-e985-44b8-a15c-82d2cf280ef1 8c0088a5-c620-426d-9f62-90835ccfdc52 b4c4f6e0-5321-4feb-8c65-b054ec023c06 cae64797-9ecf-4906-b517-6238c80c045f 93d53c01-f180-44d6-a5ae-00fd565bd256 898849c4-1365-4efb-aa8e-bf0205ce4d94 4c3ddd68-400d-4f2a-94be-b62aa44091cc a901e8f6-0e44-485e-9f81-b915e9504ff5 753b814e-f51e-4a40-89b9-64326323bb22 a5c72a95-7226-401c-bc1b-d9a50c5afb64 ce1e156d-8253-42f4-bb9e-409708366fea d18954a2-31b7-4582-ba7b-fd469a9e9817 b2cffe2c-fa49-41e5-bdf8-59f74b3cb770 8a8a2353-a930-4fe3-908d-281460de46c7 c51e22e4-edad-45a1-8721-f7f3c2de512d 11401df8-e39e-47f9-bfe8-6d0ae757a180 76dfe260-5cbf-4df7-a887-3197b1c1d94c 2cf60c40-2347-4e28-8ac9-a8eba2c6c6f9 ae11fbae-49aa-4713-aec7-372109c9931f 8e56f69a-3211-4cb6-b73f-f629cfeeb34e 07501d86-23ee-4838-9a35-09e078fb151e eb0aaca4-70df-40c0-a1d6-ceddd8acb215 c4721d3f-e7d3-4b5c-8f86-c5b533b8936b b2d3ed0d-64b0-4a41-8c5a-cb49dfbb84f9 7587fb8a-4434-4700-aaea-f51b24991de7 4ac7ee83-215b-4da8-a309-fa833827734b a0a0ccfb-be28-4c4c-b790-b1d2c0bf9efc 36216e45-b7d8-42f2-9a52-241e8eb1129d a2b5bb2d-f4c6-4e96-8e61-bfdcae9166c0 a17966d7-bd06-489a-b50f-ee6aec448502 b17e33a3-6742-4e47-a50a-06b870574e65 e9335837-382b-41ef-8f40-e5453c6923e9 c7c7fad9-875d-472e-afe6-90a776e93273 2a8f5aeb-d518-4417-a262-f168e3204a84 1e5de507-c021-4bec-abd2-ac68060929c6 fe72f2b5-30f6-4fd5-966c-5cda70a7f8a4 64a0ff57-b773-4f5d-b372-3f55b368bbad c9846bec-80e3-4900-9e38-5060835d44d4 40f52f75-97ad-44f9-a842-239a2baf096b 2f29032f-38e6-4b02-b11f-af4d02e5d2da 6a6a5344-8478-4803-b1c3-229d08c10383 0b64d111-1850-4091-b27f-763e35f67215 46859d3d-1681-4417-a55d-ad6bedf5745a a149966f-73b4-4e1d-b335-d2a572b1e6bd 0f99ffe3-9c01-4093-9f43-e5542cde52c2 9f3b839f-4463-4749-a7dd-4ebf8d378142

uvirk commented 9 years ago

That really helps, thanks. If the Meter Location is blank. does it mean that it is available at all regions? Thanks again for the response.

kraghu306 commented 8 years ago

Are we getting V2 and DS Series vm rates also ? and Premium storage ?