共用方式為


BillingProfilesOperationsExtensions.BeginCreateOrUpdateAsync 方法

定義

建立或更新帳單設定檔。 合約類型為Microsoft 客戶合約或Microsoft 合作夥伴合約的計費帳戶支援此作業。

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

參數

operations
IBillingProfilesOperations

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

billingAccountName
String

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

billingProfileName
String

可唯一識別帳單設定檔的識別碼。

parameters
BillingProfile

新的或更新的帳單設定檔。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於