费率计费计算 [英] Billing calculation of rates

查看:159
本文介绍了费率计费计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure价目表API返回MeterRates字段(请参见文档). Azure UsageAggregate给出数量(请参见文档).

Azure Rate Card API returns a MeterRates field (see documentation). Azure UsageAggregate gives a quantity (see documentation).

根据天蓝色的支持页面.这是一个提出问题的论坛.

According to the azure support page. This is the forum to ask questions.

那么,如何应用电表费?

So, how are meter rates applied?

电表费率示例:

{"0":20, "100":15, "200":10}

如果我的数量为175,是100*20 + 75*15还是175*15?

If I have a quantity of 175 is the amount 100*20 + 75*15 or 175*15?

为什么要指定包含数量?

Why specify an included quantity?

示例:包含数量10的rates:{"0":23}可以表示为比率:

Example: rates:{"0":23} with included quantitiy 10 could be expressed as rates:

{"0":0, "10":23}

推荐答案

仪表费率示例:{"0":20,"100":15,"200":10}

example meter rates: {"0":20, "100":15, "200":10}

如果我的数量为175,则数量100 * 20 + 75 * 15或175 * 15吗?

if I have a quantity of 175 is the amount 100*20 + 75*15 or 175*15 ?

定价是分层定价.因此,当您获得费率时,它实际上告诉您:

The pricing is tiered pricing. So when you get the rates it essentially tells you that:

  • 0 - 99个单位中,单位费率为20
  • 100 - 199个单位中,单位费率为15
  • 200个及以上单位开始,单价为10
  • from 0 - 99 units, the unit rate is 20
  • from 100 - 199 units, the unit rate is 15
  • from 200 units and above, the unit rate is 10

基于此逻辑,您的计算应为:

Based on this logic, your calculation should be:

99 * 20 + 75 * 15 = 3105

99 * 20 + 75 * 15 = 3105

使我困惑的一件事是上限.以上计算是基于我从Azure计费团队收到的信息.让我感到困惑的是,如果消耗量为99.5单位,将会发生什么?对于第一个99单位很好,但是我不确定如何计算额外的0.5单位.

One thing which confuses me though is the upper limit. Above calculation is based on the information I received from Azure Billing team. What confused me is what would happen if the consumption is say 99.5 units? For the first 99 units it is fine but I am not sure how the additional 0.5 units will be calculated.

这篇关于费率计费计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆