共用方式為


CustomersOperationsExtensions.GetAsync 方法

定義

依其識別碼取得客戶。 只有合約類型為 Microsoft 合作夥伴合約 的計費帳戶才支援此作業。 https://docs.microsoft.com/en-us/rest/api/billing/

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

參數

operations
ICustomersOperations

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

billingAccountName
String

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

customerName
String

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

expand
String

可用來展開已啟用的AzurePlans 和轉銷商

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於