BillingAccountsOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the properties of a billing account. Currently, displayName and address 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.BillingAccount> UpdateAsync (this Microsoft.Azure.Management.Billing.IBillingAccountsOperations operations, string billingAccountName, Microsoft.Azure.Management.Billing.Models.BillingAccountUpdateRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Billing.IBillingAccountsOperations * string * Microsoft.Azure.Management.Billing.Models.BillingAccountUpdateRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.BillingAccount>
<Extension()>
Public Function UpdateAsync (operations As IBillingAccountsOperations, billingAccountName As String, parameters As BillingAccountUpdateRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BillingAccount)
Parameters
- operations
- IBillingAccountsOperations
The operations group for this extension method.
- billingAccountName
- String
The ID that uniquely identifies a billing account.
- parameters
- BillingAccountUpdateRequest
Request parameters that are provided to the update billing account operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET