您可以使用 ResourceUsageRecord 資源來描述目前計費週期中訂用帳戶資源層級使用量的預估貨幣成本。
ResourceUsageRecord
| 屬性 | 類型 | 描述 |
|---|---|---|
| SubscriptionId | 字串 | 取得或設定訂閱識別碼。 對於 Microsoft Azure (MS-AZR-0145P) 訂用帳戶,此值是商務訂用帳戶識別碼。 針對 Azure 方案,此值是 azure 方案識別碼) 。 |
| ResourceUri | string | 取得或設定資源 URI。」 |
| ResourceType | string | 取得或設定資源類型。 |
| EntitlementId | string | 取得或設定 (Azure 訂用帳戶識別碼) 的權利識別碼。 |
| EntitlementName | string | 取得或設定權利名稱。 |
| resourceGroupName | double | 取得或設定資源組名。 |
| 名稱 | 字串 | 資源名稱。 |
| ResourceName | string | 取得或設定資源的名稱。 |
| TotalCost | decimal | 取得或設定估計的總成本使用量。 |
| CurrencyCode | string | 取得或設定貨幣代碼。 |
| USDTotalCost | decimal | 取得或設定以美元為單位的估計總成本。 |
| LastModifiedDate | string | 日期時間格式的日期 () 上次修改此記錄。 |
| 屬性 | ResourceAttributes | 對應至資源的中繼資料屬性。 |