BillingSubscriptionsOperationsExtensions.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 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
Azure SDK for .NET