ProductsOperationsExtensions.UpdateAsync Method

Definition

Updates the properties of a Product. Currently, auto renew 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.Product> UpdateAsync (this Microsoft.Azure.Management.Billing.IProductsOperations operations, string billingAccountName, string productName, Microsoft.Azure.Management.Billing.Models.Product parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Billing.IProductsOperations * string * string * Microsoft.Azure.Management.Billing.Models.Product * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Product>
<Extension()>
Public Function UpdateAsync (operations As IProductsOperations, billingAccountName As String, productName As String, parameters As Product, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Product)

Parameters

operations
IProductsOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

productName
String

The ID that uniquely identifies a product.

parameters
Product

Request parameters that are provided to the update product operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to