View interface
成本分析的狀態和組態。
- Extends
屬性
accumulated | 顯示一段時間累積的成本。 |
chart | 成本分析中主要檢視的圖表類型。 必填。 |
created |
使用者建立此檢視的日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
currency | 目前檢視的貨幣。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
data |
具有此報表組態中數據的定義。 |
date |
目前檢視的日期範圍。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
display |
檢視的使用者輸入名稱。 必填。 |
include |
如果為 true,則報告會包含預付金。 |
kpis | 要顯示在成本分析UI中的 KPI 清單。 |
metric | 顯示成本時要使用的計量。 |
modified |
使用者上次修改此檢視的日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
pivots | 在成本分析UI中設定3個子檢視。 |
scope | 要儲存檢視的成本管理範圍。 這包括訂用帳戶範圍的 'subscriptions/{subscriptionId}',resourceGroup 範圍的 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 範圍的 enrollmentAccountId}'、Billing/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{ExternalBillingAccount 範圍的 externalBillingAccountname}',以及 ExternalSubscription 範圍的 '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}'。 |
timeframe | 提取報表數據的時間範圍。 如果為 custom,則必須提供特定的時間週期。 |
time |
有提取報表數據的時間週期。 |
type |
報表的類型。 使用量代表實際使用量、預測代表預測的數據,以及 UsageAndForecast 代表使用量和預測的數據。 實際使用量和預測的數據可以根據日期來區分。 |
繼承的屬性
e |
資源的 eTag。 若要處理並行更新案例,此字段將用來判斷使用者是否要更新最新版本。 |
id | 資源標識碼。注意:此屬性將不會串行化。 它只能由伺服器填入。 |
name | 資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
type | 資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
accumulated
顯示一段時間累積的成本。
accumulated?: string
屬性值
string
chart
成本分析中主要檢視的圖表類型。 必填。
chart?: string
屬性值
string
createdOn
使用者建立此檢視的日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。
createdOn?: Date
屬性值
Date
currency
目前檢視的貨幣。 注意:這個屬性不會串行化。 它只能由伺服器填入。
currency?: string
屬性值
string
dataSet
dateRange
目前檢視的日期範圍。 注意:這個屬性不會串行化。 它只能由伺服器填入。
dateRange?: string
屬性值
string
displayName
檢視的使用者輸入名稱。 必填。
displayName?: string
屬性值
string
includeMonetaryCommitment
如果為 true,則報告會包含預付金。
includeMonetaryCommitment?: boolean
屬性值
boolean
kpis
metric
顯示成本時要使用的計量。
metric?: string
屬性值
string
modifiedOn
使用者上次修改此檢視的日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。
modifiedOn?: Date
屬性值
Date
pivots
scope
要儲存檢視的成本管理範圍。 這包括訂用帳戶範圍的 'subscriptions/{subscriptionId}',resourceGroup 範圍的 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{EnrollmentAccount 範圍的 enrollmentAccountId}'、Billing/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.CostManagement/externalBillingAccounts/{ExternalBillingAccount 範圍的 externalBillingAccountname}',以及 ExternalSubscription 範圍的 '/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}'。
scope?: string
屬性值
string
timeframe
提取報表數據的時間範圍。 如果為 custom,則必須提供特定的時間週期。
timeframe?: string
屬性值
string
timePeriod
typePropertiesQueryType
報表的類型。 使用量代表實際使用量、預測代表預測的數據,以及 UsageAndForecast 代表使用量和預測的數據。 實際使用量和預測的數據可以根據日期來區分。
typePropertiesQueryType?: string
屬性值
string
繼承的屬性詳細資料
eTag
資源的 eTag。 若要處理並行更新案例,此字段將用來判斷使用者是否要更新最新版本。
eTag?: string
屬性值
string
id
資源標識碼。注意:此屬性將不會串行化。 它只能由伺服器填入。
id?: string
屬性值
string
繼承自