BillingProfilesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.

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)

Parameters

operations
IBillingProfilesOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingProfileName
String

The ID that uniquely identifies a billing profile.

parameters
BillingProfile

The new or updated billing profile.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to