CreditSourceResource.Update(CreditSourcePatch, CancellationToken) Method

Definition

Update a credit source.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/credits/{creditName}/sources/{sourceName}.
  • Operation Id. : CreditSources_Update.
  • Default Api Version. : 2025-12-01-preview.
  • Resource. : CreditSourceResource.
public virtual Azure.Response<Azure.ResourceManager.BillingBenefits.CreditSourceResource> Update(Azure.ResourceManager.BillingBenefits.Models.CreditSourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.BillingBenefits.Models.CreditSourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BillingBenefits.CreditSourceResource>
override this.Update : Azure.ResourceManager.BillingBenefits.Models.CreditSourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BillingBenefits.CreditSourceResource>
Public Overridable Function Update (patch As CreditSourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CreditSourceResource)

Parameters

patch
CreditSourcePatch

Credit source patch request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to