MaccResource.ChargeShortfallAsync Method

Definition

Operation to charge shortfall to a customer's account, ensuring they are charged for the outstanding amount of MACC credit.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}/chargeShortfall.
  • Operation Id. : Maccs_ChargeShortfall.
  • Default Api Version. : 2025-12-01-preview.
  • Resource. : MaccResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.BillingBenefits.MaccResource>> ChargeShortfallAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.BillingBenefits.Models.ChargeShortfallRequest content, System.Threading.CancellationToken cancellationToken = default);
abstract member ChargeShortfallAsync : Azure.WaitUntil * Azure.ResourceManager.BillingBenefits.Models.ChargeShortfallRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.BillingBenefits.MaccResource>>
override this.ChargeShortfallAsync : Azure.WaitUntil * Azure.ResourceManager.BillingBenefits.Models.ChargeShortfallRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.BillingBenefits.MaccResource>>
Public Overridable Function ChargeShortfallAsync (waitUntil As WaitUntil, content As ChargeShortfallRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MaccResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ChargeShortfallRequest

Request body for charging shortfall.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to