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

Balances interface

表示余额的接口。

方法

getByBillingAccount(string, BalancesGetByBillingAccountOptionalParams)

按 billingAccountId 获取范围的余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。

getForBillingPeriodByBillingAccount(string, string, BalancesGetForBillingPeriodByBillingAccountOptionalParams)

按计费周期和 billingAccountId 获取范围余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。

方法详细信息

getByBillingAccount(string, BalancesGetByBillingAccountOptionalParams)

按 billingAccountId 获取范围的余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。

function getByBillingAccount(billingAccountId: string, options?: BalancesGetByBillingAccountOptionalParams): Promise<Balance>

参数

billingAccountId

string

计费帐户 ID

返回

Promise<Balance>

getForBillingPeriodByBillingAccount(string, string, BalancesGetForBillingPeriodByBillingAccountOptionalParams)

按计费周期和 billingAccountId 获取范围余额。 余额仅适用于 2014 年 5 月 1 日或更高版本的此 API。

function getForBillingPeriodByBillingAccount(billingAccountId: string, billingPeriodName: string, options?: BalancesGetForBillingPeriodByBillingAccountOptionalParams): Promise<Balance>

参数

billingAccountId

string

计费帐户 ID

billingPeriodName

string

计费周期名称。

返回

Promise<Balance>