/// <summary> /// 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. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='parameters'> /// Request parameters that are provided to the update billing property /// operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <BillingProperty> UpdateAsync(this IBillingPropertyOperations operations, BillingProperty parameters, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateWithHttpMessagesAsync(parameters, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }