AggregatedCost interface
表示 AggregatedCost 的接口。
方法
| get |
按当前计费周期提供管理组和所有子管理组的总成本。 |
| get |
按指定的计费周期提供管理组和所有子管理组的总成本 |
方法详细信息
getByManagementGroup(string, AggregatedCostGetByManagementGroupOptionalParams)
按当前计费周期提供管理组和所有子管理组的总成本。
function getByManagementGroup(managementGroupId: string, options?: AggregatedCostGetByManagementGroupOptionalParams): Promise<ManagementGroupAggregatedCostResult>
参数
- managementGroupId
-
string
Azure 管理组 ID。
选项参数。
返回
Promise<ManagementGroupAggregatedCostResult>
getForBillingPeriodByManagementGroup(string, string, AggregatedCostGetForBillingPeriodByManagementGroupOptionalParams)
按指定的计费周期提供管理组和所有子管理组的总成本
function getForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: AggregatedCostGetForBillingPeriodByManagementGroupOptionalParams): Promise<ManagementGroupAggregatedCostResult>
参数
- managementGroupId
-
string
Azure 管理组 ID。
- billingPeriodName
-
string
计费周期名称。
返回
Promise<ManagementGroupAggregatedCostResult>