共用方式為


PoliciesOperationsExtensions.UpdateCustomerAsync 方法

定義

更新客戶的原則。 只有合約類型為Microsoft 合作夥伴合約的計費帳戶才支援此作業。

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

參數

operations
IPoliciesOperations

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

billingAccountName
String

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

customerName
String

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

parameters
CustomerPolicy

要求提供給更新原則作業的參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於