BillingSubscriptionsOperationsExtensions.UpdateAsync Method

Definition

Updates the properties of a billing subscription. Currently, cost center can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

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

Parameters

operations
IBillingSubscriptionsOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

parameters
BillingSubscription

Request parameters that are provided to the update billing subscription operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to