共用方式為


BillingSubscriptionsOperationsExtensions.ListByCustomerAsync 方法

定義

列出客戶的訂用帳戶。 只有合約類型為 Microsoft 合作夥伴合約 的計費帳戶才支援此作業。 https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingSubscription>> ListByCustomerAsync (this Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations operations, string billingAccountName, string customerName, System.Threading.CancellationToken cancellationToken = default);
static member ListByCustomerAsync : Microsoft.Azure.Management.Billing.IBillingSubscriptionsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Billing.Models.BillingSubscription>>
<Extension()>
Public Function ListByCustomerAsync (operations As IBillingSubscriptionsOperations, billingAccountName As String, customerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BillingSubscription))

參數

operations
IBillingSubscriptionsOperations

這個擴充方法的作業群組。

billingAccountName
String

可唯一識別計費帳戶的識別碼。

customerName
String

可唯一識別客戶的識別碼。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於