问题描述
我目前正在使用Python API自动获取每个期间的帐单信息/费率;但是,我在meter_Rates中看到的RateCard api的值与定价"页面中所述的值有很大差异.
I'm currently using the Python API to automatically get the billing information/rates for each period; however, the values I'm seeing in the meter_Rates for the RateCard api is very different from the values as stated in the Pricing page.
例如,适用于美国EAST 2区域的Windows A2m V2虚拟机(仅提及..未提及磁盘),使用即付即用计划的区域设置en-US,值为0.152欧元/小时.
For instance, a Windows A2m V2 vm (only..no disk mentioned) for the for the Us EAST 2 region, locale en-US with Pay-as-you-go plan the value is 0.152 Euros / hour.
条件:
["OfferDurableId eq'MS-AZR-0003p'",
" Currency eq'EUR'';
" Locale eq'en-US'';
" RegionInfo eq'DE''];
["OfferDurableId eq 'MS-AZR-0003p'",
"Currency eq 'EUR'",
"Locale eq 'en-US'",
"RegionInfo eq 'DE'"]
当我从价目表api查看特定虚拟机的meter_rate时:
When I look at the meter_rate for that particular vm from the ratecard api:
{
"meter_rates":{
"0":0.1003527
},
"meter_name":"A2m v2",
单位":"1小时",
"meter_id":"c15c48c4-1c1f-4945-9be5-08224d795402",
"included_quantity":0.0,
"meter_category":虚拟机",
"meter_sub_category":"Av2系列",
"meter_tags":[],
"meter_region":美国东部2",
有效日期":"2016-11-01T00:00:00.000Z"
},
{
"meter_rates": {
"0": 0.1003527
},
"meter_name": "A2m v2",
"unit": "1 Hour",
"meter_id": "c15c48c4-1c1f-4945-9be5-08224d795402",
"included_quantity": 0.0,
"meter_category": "Virtual Machines",
"meter_sub_category": "Av2 Series",
"meter_tags": [],
"meter_region": "US East 2",
"effective_date": "2016-11-01T00:00:00.000Z"
},
因此,它表示计量费率为"0". @ 0.1003527 .. 我相信是0.1003527Euros/hr.
So it says the meter rate is "0" @ 0.1003527.. which I believe is 0.1003527Euros /hr.
我做错了什么或误解了Api吗?
Have I done something wrong or misunderstood the Api?
谢谢
推荐答案
这是步骤,以通过Azure计费支持获得支持票.如果您已经有支持计划.如果您不这样做,请发送电子邮件至AzCommunity@microsoft.com,其中包含您的订阅ID和此MSDN线程(用于上下文)的链接,我们将为您提供帮助 参与Azure支持.
Here are the steps to raise a support tickets with Azure billing support. If you already have a support plan. If you don't, please send mail to AzCommunity@microsoft.com with your subscription ID and a link to this MSDN thread (for context) and we will assist you with engaging Azure support.
这篇关于RateCard API meter_rates与网站上的“定价"值相比的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!