다음을 통해 공유


BillingProfilesOperationsExtensions.CreateOrUpdateAsync 메서드

정의

청구 프로필을 만들거나 업데이트합니다. 이 작업은 계약 유형이 Microsoft 고객 계약 또는 Microsoft 파트너 계약 청구 계정에 대해 지원됩니다.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingProfile> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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

청구 계정을 고유하게 식별하는 ID입니다.

billingProfileName
String

청구 프로필을 고유하게 식별하는 ID입니다.

parameters
BillingProfile

새 또는 업데이트된 청구 프로필입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상