在azure consumption usage details api中,指标类型actualcost、usagecost、amortizedcost有什么区别?

In the azure consumption usage details api, what is the difference between the metric types actualcost, usagecost, and amortizedcost?

我仔细阅读了这份文件,但无法得到确切的区别 https://docs.microsoft.com/en-us/azure/cost-management-billing/reservations/understand-reserved-instance-usage-ea

Usage 不包括预订和市场购买。这是一个反向兼容选项。

ActualCost 包括发票中显示的所有使用和购买。 (可能在您的 EA 或 MCA 计费帐户上设置的任何成本分配规则除外。这不适用于 PAYG 或 CSP。)

AmortizedCost 分解预留购买并将它们分配给使用预留的各个资源。

来自文档:

By default, cost analysis shows all usage and purchase costs as they're accrued and will show on your invoice, also known as Actual cost. Viewing actual cost is ideal for reconciling your invoice. However, purchase spikes in cost can be alarming when you're keeping an eye out for spending anomalies and other changes in cost. To flatten out spikes caused by reservation purchase costs, switch to Amortized cost.

Amortized cost breaks down reservation purchases into daily chunks and spreads them over the duration of the reservation term. For example, instead of seeing a 5 purchase on January 1, you'll see a .00 purchase every day from January 1 to December 31. In addition to basic amortization, these costs are also reallocated and associated by using the specific resources that used the reservation. For example, if that .00 daily charge was split between two virtual machines, you'd see two [=13=].50 charges for the day. If part of the reservation isn't utilized for the day, you'd see one [=13=].50 charge associated with the applicable virtual machine and another [=13=].50 charge with a charge type of UnusedReservation. Unused reservation costs can be seen only when viewing amortized cost.

https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/quick-acm-cost-analysis?tabs=azure-portal#customize-cost-views

使用不包括预订和市场购买。这是一个反向兼容选项。

ActualCost 包括发票中显示的所有使用和购买。

AmortizedCost 分解预留购买并将它们分配给使用预留的各个资源。