Partager via


BillingAccountResource.CancelPaymentTerms Method

Definition

Cancels all the payment terms on billing account that falls after the cancellation date in the request. Currently, cancel payment terms is only served by admin actions and is not a self-serve action.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/cancelPaymentTerms
  • Operation Id: BillingAccounts_CancelPaymentTerms
  • Default Api Version: 2024-04-01
  • Resource: BillingAccountResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingAccountResource> CancelPaymentTerms (Azure.WaitUntil waitUntil, DateTimeOffset dateTime, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelPaymentTerms : Azure.WaitUntil * DateTimeOffset * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingAccountResource>
override this.CancelPaymentTerms : Azure.WaitUntil * DateTimeOffset * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.BillingAccountResource>
Public Overridable Function CancelPaymentTerms (waitUntil As WaitUntil, dateTime As DateTimeOffset, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BillingAccountResource)

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.

dateTime
DateTimeOffset

Date after which any payment terms that needs to be cancelled.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to