共用方式為


BillingBenefitsSavingsPlanResource.UpdateAsync Method

Definition

Update savings plan.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
  • Operation Id: SavingsPlan_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource>> UpdateAsync (Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource>>
override this.UpdateAsync : Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsSavingsPlanPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource>>
Public Overridable Function UpdateAsync (patch As BillingBenefitsSavingsPlanPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingBenefitsSavingsPlanResource))

Parameters

patch
BillingBenefitsSavingsPlanPatch

Request body for patching a savings plan order alias.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to