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

Agreements interface

表示协议的接口。

方法

get(string, string, AgreementsGetOptionalParams)

按 ID 获取协议。

listByBillingAccount(string, AgreementsListByBillingAccountOptionalParams)

列出计费帐户的协议。

方法详细信息

get(string, string, AgreementsGetOptionalParams)

按 ID 获取协议。

function get(billingAccountName: string, agreementName: string, options?: AgreementsGetOptionalParams): Promise<Agreement>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

agreementName

string

唯一标识协议的 ID。

options
AgreementsGetOptionalParams

选项参数。

返回

Promise<Agreement>

listByBillingAccount(string, AgreementsListByBillingAccountOptionalParams)

列出计费帐户的协议。

function listByBillingAccount(billingAccountName: string, options?: AgreementsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Agreement, Agreement[], PageSettings>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

返回