AggregatedCost interface
表示 AggregatedCost 的介面。
方法
| get |
依目前的計費週期,提供管理群組和所有子管理群組的匯總成本。 |
| get |
依指定的計費週期提供管理群組和所有子管理群組的總成本 |
方法詳細資料
getByManagementGroup(string, AggregatedCostGetByManagementGroupOptionalParams)
依目前的計費週期,提供管理群組和所有子管理群組的匯總成本。
function getByManagementGroup(managementGroupId: string, options?: AggregatedCostGetByManagementGroupOptionalParams): Promise<ManagementGroupAggregatedCostResult>
參數
- managementGroupId
-
string
Azure 管理群組標識碼。
選項參數。
傳回
Promise<ManagementGroupAggregatedCostResult>
getForBillingPeriodByManagementGroup(string, string, AggregatedCostGetForBillingPeriodByManagementGroupOptionalParams)
依指定的計費週期提供管理群組和所有子管理群組的總成本
function getForBillingPeriodByManagementGroup(managementGroupId: string, billingPeriodName: string, options?: AggregatedCostGetForBillingPeriodByManagementGroupOptionalParams): Promise<ManagementGroupAggregatedCostResult>
參數
- managementGroupId
-
string
Azure 管理群組標識碼。
- billingPeriodName
-
string
計費期間名稱。
傳回
Promise<ManagementGroupAggregatedCostResult>