了解個別訂用帳戶 (採用隨用隨付費率) 的 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 portal to evaluate your reservation usage.

如果您是擁有 Enterprise 合約的客戶,請參閱了解 Enterprise 註冊的保留使用量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,且保留的 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
ReservationIdReservationId 8117adfb-1d94-4675-be2b-f3c1bca808b68117adfb-1d94-4675-be2b-f3c1bca808b6
數量Quantity 11
SKUSKU Standard_DS1_v2Standard_DS1_v2
區域Region eastuseastus

已涵蓋虛擬機器的硬體部分,因為部署的虛擬機器符合保留屬性。The hardware portion of the VM is covered because the deployed VM matches the reservation attributes. 若要查看保留的 VM 執行個體未涵蓋哪些 Windows 軟體,請參閱 Azure 保留 VM 執行個體的 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. 請對包含 "Reservation-" 的 [計量子類別] 欄位套用篩選。Apply the filter on the Meter Subcategory field that contains "Reservation-". 您會看到類似下列螢幕擷取畫面的內容:You see something like the following screenshot:

篩選後保留使用量詳細資料與費用的螢幕擷取畫面

Reservation-Base 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. Reservation-Windows Svr (1 核心) 行涵蓋了 Windows 軟體成本。The Reservation-Windows Svr (1 Core) line covers the cost of Windows software.

CSV 檔案的「每日使用量」區段Daily usage section of CSV file

篩選 其他資訊 並輸入 保留識別碼Filter 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 的計量識別碼。ConsumptionMeter is the meter ID for the VM.
  3. Reservation-Base 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. [計量識別碼] 是保留的計量識別碼。Meter ID is the meter ID for the reservation. 此計量的成本為 $0。The cost of this meter is $0. 任何有資格獲得保留折扣的 VM 都會出現此計量識別碼。This meter id appears for any VM that qualifies for the reservation discount.
  5. Standard_DS1_v2 是一種 vCPU 虛擬機器,且是在沒有 Azure Hybrid Benefit 的情況下部署的虛擬機器。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 保留 VM 執行個體的 Windows 軟體成本To find the meter corresponding to D series 1 core VM, see Azure Reserve VM Instances Windows software costs. 如果您擁有 Azure Hybrid Benefit,就不會產生此額外費用。If you have the Azure Hybrid Benefit, this extra charge is not applied.

SQL Database 與 Cosmos DB 保留的使用量Usage for SQL Database & Cosmos DB reservations

下列各節使用 Azure SQL Database 作為範例來說明使用情況報表。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 Database Gen 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
ReservationIdReservationId 446ec809-423d-467c-8c5c-bbd5d22906b1446ec809-423d-467c-8c5c-bbd5d22906b1
數量Quantity 22
ProductsProduct SQL Database Gen 4 (2 核心)SQL Database Gen 4 (2 Core)
區域Region eastuseastus

CSV 檔案的「說明」區段Statement section of CSV file

針對 [保留執行個體使用方式] 計量名稱進行篩選,然後選擇所需的 [計量類別目錄] - [Azure SQL Database] 或 [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:

顯示計量類別項目的螢幕擷取畫面。

[保留的執行個體使用量] 行有保留所涵蓋的核心時數總數。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

篩選 其他資訊 並輸入 保留識別碼Filter on Additional Info and type in your Reservation ID. 以下螢幕擷取畫面顯示與 SQL Database 保留容量相關的欄位。The following screenshot shows the fields related to the SQL Database reserved capacity reservation.

顯示保留容量之 CSV 檔案詳細資料的螢幕擷取畫面。

  1. [其他資訊] 欄位中的 ReservationId 是套用至 SQL Database 資源的 SQL Database 保留容量。ReservationId in the Additional Info field is the SQL Database reserved capacity reservation that's applied to the SQL Database resource.
  2. ConsumptionMeter 是 SQL Database 資源的計量識別碼。ConsumptionMeter is the meter ID for the SQL Database resource.
  3. [計量識別碼] 是保留計量。The Meter Id is the reservation meter. 此計量的成本為 $0。The cost of this meter is $0. 任何有資格獲得保留折扣的 SQL Database 資源都會在 CSV 檔案中顯示此計量識別碼。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: