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

Customers interface

表示客户的接口。

方法

get(string, string, string, CustomersGetOptionalParams)

按其 ID 获取客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

getByBillingAccount(string, string, CustomersGetByBillingAccountOptionalParams)

在计费帐户级别按其 ID 获取客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

listByBillingAccount(string, CustomersListByBillingAccountOptionalParams)

列出向计费帐户计费的客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

listByBillingProfile(string, string, CustomersListByBillingProfileOptionalParams)

列出向计费对象配置文件计费的客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

方法详细信息

get(string, string, string, CustomersGetOptionalParams)

按其 ID 获取客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

function get(billingAccountName: string, billingProfileName: string, customerName: string, options?: CustomersGetOptionalParams): Promise<Customer>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

billingProfileName

string

唯一标识计费配置文件的 ID。

customerName

string

唯一标识客户的 ID。

options
CustomersGetOptionalParams

选项参数。

返回

Promise<Customer>

getByBillingAccount(string, string, CustomersGetByBillingAccountOptionalParams)

在计费帐户级别按其 ID 获取客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

function getByBillingAccount(billingAccountName: string, customerName: string, options?: CustomersGetByBillingAccountOptionalParams): Promise<Customer>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

customerName

string

唯一标识客户的 ID。

返回

Promise<Customer>

listByBillingAccount(string, CustomersListByBillingAccountOptionalParams)

列出向计费帐户计费的客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

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

参数

billingAccountName

string

唯一标识计费帐户的 ID。

返回

listByBillingProfile(string, string, CustomersListByBillingProfileOptionalParams)

列出向计费对象配置文件计费的客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: CustomersListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Customer, Customer[], PageSettings>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

billingProfileName

string

唯一标识计费配置文件的 ID。

返回