Customers interface
表示客户的接口。
方法
| get(string, string, string, Customers |
按其 ID 获取客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。 |
| get |
在计费帐户级别按其 ID 获取客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。 |
| list |
列出向计费帐户计费的客户。 只有协议类型Microsoft合作伙伴协议的计费帐户才支持该作。 |
| list |
列出向计费对象配置文件计费的客户。 只有协议类型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。
选项参数。