你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

View interface

成本分析的状态和配置。

扩展

属性

accumulated

显示随时间累积的成本。

chart

成本分析中主视图的图表类型。 必填。

createdOn

用户创建此视图的日期。 注意:此属性不会序列化。 它只能由服务器填充。

currency

当前视图的货币。 注意:此属性不会序列化。 它只能由服务器填充。

dataSet

具有此报表配置中的数据的定义。

dateRange

当前视图的日期范围。 注意:此属性不会序列化。 它只能由服务器填充。

displayName

视图的用户输入名称。 必填。

includeMonetaryCommitment

如果为 true,则报告包括货币承诺。

kpis

要显示在成本分析 UI 中的 KPI 列表。

metric

显示成本时要使用的指标。

modifiedOn

用户上次修改此视图的日期。 注意:此属性不会序列化。 它只能由服务器填充。

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},“providers/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

为报表拉取数据的时间范围。 如果为自定义,则必须提供特定的时间段。

timePeriod

具有为报表拉取数据的时间段。

typePropertiesQueryType

报表的类型。 使用情况表示实际使用情况,预测表示预测数据,UsageAndForecast 表示使用情况和预测数据。 根据日期,可以区分实际使用情况和预测数据。

继承属性

eTag

资源的 eTag。 若要处理并发更新方案,此字段将用于确定用户是否正在更新最新版本。

id

资源 ID。注意:此属性不会序列化。 它只能由服务器填充。

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

accumulated

显示随时间累积的成本。

accumulated?: string

属性值

string

chart

成本分析中主视图的图表类型。 必填。

chart?: string

属性值

string

createdOn

用户创建此视图的日期。 注意:此属性不会序列化。 它只能由服务器填充。

createdOn?: Date

属性值

Date

currency

当前视图的货币。 注意:此属性不会序列化。 它只能由服务器填充。

currency?: string

属性值

string

dataSet

具有此报表配置中的数据的定义。

dataSet?: ReportConfigDataset

属性值

dateRange

当前视图的日期范围。 注意:此属性不会序列化。 它只能由服务器填充。

dateRange?: string

属性值

string

displayName

视图的用户输入名称。 必填。

displayName?: string

属性值

string

includeMonetaryCommitment

如果为 true,则报告包括货币承诺。

includeMonetaryCommitment?: boolean

属性值

boolean

kpis

要显示在成本分析 UI 中的 KPI 列表。

kpis?: KpiProperties[]

属性值

metric

显示成本时要使用的指标。

metric?: string

属性值

string

modifiedOn

用户上次修改此视图的日期。 注意:此属性不会序列化。 它只能由服务器填充。

modifiedOn?: Date

属性值

Date

pivots

在成本分析 UI 中配置 3 个子视图。

pivots?: PivotProperties[]

属性值

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},“providers/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

为报表拉取数据的时间范围。 如果为自定义,则必须提供特定的时间段。

timeframe?: string

属性值

string

timePeriod

具有为报表拉取数据的时间段。

timePeriod?: ReportConfigTimePeriod

属性值

typePropertiesQueryType

报表的类型。 使用情况表示实际使用情况,预测表示预测数据,UsageAndForecast 表示使用情况和预测数据。 根据日期,可以区分实际使用情况和预测数据。

typePropertiesQueryType?: string

属性值

string

继承属性详细信息

eTag

资源的 eTag。 若要处理并发更新方案,此字段将用于确定用户是否正在更新最新版本。

eTag?: string

属性值

string

继承自CostManagementProxyResource.eTag

id

资源 ID。注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 CostManagementProxyResource.id

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 CostManagementProxyResource.name

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自CostManagementProxyResource.type