BillingPropertyOperationsExtensions.UpdateAsync Method

Definition

Updates the billing property of a 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.BillingProperty> UpdateAsync (this Microsoft.Azure.Management.Billing.IBillingPropertyOperations operations, Microsoft.Azure.Management.Billing.Models.BillingProperty parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Billing.IBillingPropertyOperations * Microsoft.Azure.Management.Billing.Models.BillingProperty * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingProperty>
<Extension()>
Public Function UpdateAsync (operations As IBillingPropertyOperations, parameters As BillingProperty, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BillingProperty)

Parameters

operations
IBillingPropertyOperations

The operations group for this extension method.

parameters
BillingProperty

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to