您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

了解有关在单个订阅中使用即用即付费率订阅 Azure 预订使用情况Understand Azure reservation usage for your individual subscription with pay-as-you-go rates subscription

使用“预留”页中的 ReservationId 和 Azure 帐户门户中的使用情况文件评估预留使用情况。Use the ReservationId from Reservation page and the usage file from the Azure Accounts portal to evaluate your reservation usage.

如果你是企业协议的客户,请参阅了解适用于企业合约的预留使用情况If you are a customer with an Enterprise Agreement, see Understand reservation usage for your Enterprise enrollment..

本文假设要将预留应用到单个订阅。This article assumes that the reservation is applied to a single subscription. 如果将预留应用到多个订阅,则预留权益可能跨多个使用情况 CSV 文件。If the reservation is applied to more than one subscription, your reservation benefit may span multiple usage CSV files.

虚拟机预留实例的使用情况Usage for Reserved Virtual Machine Instances

以下部分假设在美国东部区域中运行 Standard_DS1_v2 Windows VM,并且虚拟机预留实例信息如下表中所示:For the following sections, assume that you are running a Standard_DS1_v2 Windows VM in the east US region and your reserved VM instance information looks like the following table:

字段Field Value
预订 IDReservationId 8117adfb-1d94-4675-be2b-f3c1bca808b68117adfb-1d94-4675-be2b-f3c1bca808b6
数量Quantity 1
SKUSKU Standard_DS1_v2Standard_DS1_v2
区域Region eastuseastus

涵盖 VM 的硬件部分,因为部署的 VM 与预订属性匹配。The hardware portion of the VM is covered because the deployed VM matches the reservation attributes. 若要查看虚拟机预留实例未涵盖哪些 Windows 软件,请参阅 Azure 虚拟机预留实例 Windows 软件成本To see what Windows software isn't covered by the reserved VM instance, see Azure Reserve VM Instances Windows software costs

VM CSV 文件的声明部分Statement section of CSV file for VMs

CSV 文件的此部分显示预留的总体使用情况。This section of your CSV file shows the total usage for your reservation. 将筛选器应用到包含“预留-”的“计量子类别”字段。 Apply the filter on the Meter Subcategory field that contains "Reservation-". 此时会显示以下屏幕截图中所示的内容:You see something like the following screenshot:

已筛选的预留使用情况详细信息和费用的屏幕截图

“预留-基础 VM”行包含预留涵盖的小时总数。 The Reservation-Base VM line has the total number of hours that are covered by the reservation. 此行是 0.00 美元,因为预留涵盖它。This line is $0.00 because the reservation covers it. “预留-Windows Svr (单核)”行涵盖 Windows 软件的成本。 The Reservation-Windows Svr (1 Core) line covers the cost of Windows software.

CSV 文件的“每日使用情况”部分Daily usage section of CSV file

筛选“其他信息”,并键入预留 IDFilter on Additional Info and type in your Reservation ID. 以下屏幕截图显示了与预订相关的字段。The following screenshot shows the fields related to the reservation.

每日使用详细信息及收费的屏幕截图

  1. “其他信息” 字段中的 ReservationId 是应用到 VM 的预留。ReservationId in the Additional Info field is the reservation that's applied to the VM.
  2. ConsumptionMeter 是 VM 的计量 ID。ConsumptionMeter is the meter ID for the VM.
  3. “预留-基础 VM”计量子类别行表示声明部分中的 0 美元成本。 The Reservation-Base VM Meter Subcategory line represents the $0 cost in statement section. 已通过预留支付了运行此 VM 的成本。The cost of running this VM is already paid by the reservation.
  4. “计量 ID”是预留的计量 ID。 Meter ID is the meter ID for the reservation. 此计量的成本是 0 美元。The cost of this meter is $0. 对于任何符合预留折扣条件的 VM,将显示此计量 ID。This meter id appears for any VM that qualifies for the reservation discount.
  5. Standard_DS1_v2 是 1 vCPU VM,此 VM 在不使用 Azure 混合权益的情况下部署。Standard_DS1_v2 is one vCPU VM and the VM is deployed without Azure Hybrid Benefit. 因此,此计量涉及 Windows 软件的额外费用。So, this meter covers the extra charge of the Windows software. 若要查找与 D 系列 1 核心 VM 相对应的计量,请参阅 Azure 虚拟机预留实例 Windows 软件成本To find the meter corresponding to D series 1 core VM, see Azure Reserve VM Instances Windows software costs. 如果有 Azure 混合权益,则不会收取此额外费用。If you have the Azure Hybrid Benefit, this extra charge is not applied.

SQL 数据库和 Cosmos DB 保留项的使用情况Usage for SQL Database & Cosmos DB reservations

以下部分将以 Azure SQL 数据库为例来描述使用情况报表。The following sections use Azure SQL Database as example to describe the usage report. 也可以使用相同的步骤来获取 Azure Cosmos DB 的使用情况。You can use same steps to get usage for Azure Cosmos DB as well.

假设在美国东部地区运行 SQL 数据库第 4 代,你的预留信息将类似于下表所示:Assume that you are running a SQL Database Gen 4 in the east US region and your reservation information looks like the following table:

字段Field Value
预订 IDReservationId 446ec809-423d-467c-8c5c-bbd5d22906b1446ec809-423d-467c-8c5c-bbd5d22906b1
数量Quantity 22
产品Product SQL 数据库第 4 代(双核)SQL Database Gen 4 (2 Core)
区域Region eastuseastus

CSV 文件的声明部分Statement section of CSV file

筛选“预留实例使用量”计量名称,并选择所需的“计量类别” - Azure SQL 数据库或 Azure Cosmos DB。 Filter on Reserved Instance Usage meter name, and choose the required Meter Category - Azure SQL database or Azure Cosmos DB. 此时会显示以下屏幕截图中所示的内容:You see something like the following screenshot:

SQL 数据库预留容量的 CSV 文件

“预留实例使用情况”行包含预留涵盖的核心小时总数。 The Reserved Instance Usage line has the total number of core hours covered by the reservation. 此行的费率为 0 美元,因为预留涵盖了成本。The rate is $0 for this line as the reservation covered the cost.

CSV 文件的详细信息部分Detail section of CSV file

筛选“其他信息”,并键入预留 IDFilter on Additional Info and type in your Reservation ID. 以下屏幕截图显示了与 SQL 数据库预留容量预订相关的字段。The following screenshot shows the fields related to the SQL Database reserved capacity reservation.

SQL 数据库预留容量的 CSV 文件

  1. “其他信息” 字段中的 ReservationId 是应用到 SQL 数据库资源的 SQL 数据库预留容量预订。ReservationId in the Additional Info field is the SQL Database reserved capacity reservation that's applied to the SQL database resource.
  2. ConsumptionMeter 是 SQL 数据库资源的计量 ID。ConsumptionMeter is the meter ID for the SQL Database resource.
  3. “计量 ID” 是预留计量。The Meter Id is the reservation meter. 此计量的成本是 0 美元。The cost of this meter is $0. 任何符合预留折扣条件的 SQL 数据库资源将在 CSV 文件中显示此计量 ID。Any SQL Database resources that qualify for the reservation discount shows this meter ID in the CSV file.

需要帮助?Need help? 请联系我们。Contact us.

如有任何疑问或需要帮助,请创建支持请求If you have questions or need help, create a support request.

后续步骤Next steps

若要了解有关 Azure 预订的详细信息,请参阅以下文章:To learn more about Azure Reservations, see the following articles: