Customers interface
代表 Customers 的介面。
方法
| get(string, string, string, Customers |
依其標識碼取得客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。 |
| get |
依客戶在計費帳戶層級的標識碼取得客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。 |
| list |
列出計費帳戶的客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。 |
| list |
列出計費配置檔的客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。 |
方法詳細資料
get(string, string, string, CustomersGetOptionalParams)
依其標識碼取得客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。
function get(billingAccountName: string, billingProfileName: string, customerName: string, options?: CustomersGetOptionalParams): Promise<Customer>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- billingProfileName
-
string
可唯一識別帳單配置檔的標識碼。
- customerName
-
string
可唯一識別客戶的標識碼。
- options
- CustomersGetOptionalParams
選項參數。
傳回
Promise<Customer>
getByBillingAccount(string, string, CustomersGetByBillingAccountOptionalParams)
依客戶在計費帳戶層級的標識碼取得客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。
function getByBillingAccount(billingAccountName: string, customerName: string, options?: CustomersGetByBillingAccountOptionalParams): Promise<Customer>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- customerName
-
string
可唯一識別客戶的標識碼。
選項參數。
傳回
Promise<Customer>
listByBillingAccount(string, CustomersListByBillingAccountOptionalParams)
列出計費帳戶的客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。
function listByBillingAccount(billingAccountName: string, options?: CustomersListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Customer, Customer[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
選項參數。
傳回
listByBillingProfile(string, string, CustomersListByBillingProfileOptionalParams)
列出計費配置檔的客戶。 只有合約類型Microsoft合作夥伴合約的計費帳戶才支援此作業。
function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: CustomersListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Customer, Customer[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- billingProfileName
-
string
可唯一識別帳單配置檔的標識碼。
選項參數。