計量使用量記錄資源
您可以使用 MeterUsageRecord 資源來描述目前計費週期中訂用帳戶計量層級使用量的預估貨幣成本。
MeterUsageRecord
屬性 | 類型 | 描述 |
---|---|---|
SubscriptionId | 字串 | 對應至合作夥伴中心訂用帳戶 資源的識別碼的 GUID,代表 Microsoft Azure (MS-AZR-0145P) 訂用帳戶或 Azure 方案。 對於 Microsoft Azure (MS-AZR-0145P) 訂用帳戶,此值為商務訂用帳戶識別碼。 針對 Azure 方案訂用帳戶資源,此值為 Azure 方案識別碼。 |
MeterId | string | 取得或設定計量識別碼。 |
MeterName | string | 取得或設定計量名稱。 |
類別 | 字串 | 取得或設定 Azure 資源類別目錄。 |
子類別 | string | 取得或設定 Azure 資源子類別目錄。 |
QuantityUsed | decimal | 取得或設定使用的 Azure 資源數量。 |
單位 | 字串 | 取得或設定 Azure 資源的測量單位。 |
TotalCost | decimal | 取得或設定估計的使用總成本。 |
CurrencyLocale | string | 使用訂用帳戶的地區設定。 這個屬性會決定發票上使用的貨幣。 此屬性適用于 Microsoft Azure (MS-AZR-0145P) 訂用帳戶。 |
CurrencyCode | string | 取得或設定貨幣代碼。 此屬性適用于 Azure 方案。 |
USDTotalCost | decimal | 取得或設定以美元為單位的估計總成本。 此屬性適用于 Azure 方案。 |
LastModifiedDate | string | 日期時間格式的日期 () 上次修改此記錄。 |
屬性 | ResourceAttributes | 對應至資源的中繼資料屬性。 |