共用方式為


BillingProductResource.ValidateMoveEligibilityAsync Method

Definition

Validates if a product's charges can be moved to a new invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/validateMoveEligibility
  • Operation Id: Products_ValidateMoveEligibility
  • Default Api Version: 2024-04-01
  • Resource: BillingProductResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.MoveProductEligibilityResult>> ValidateMoveEligibilityAsync (Azure.ResourceManager.Billing.Models.MoveProductContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateMoveEligibilityAsync : Azure.ResourceManager.Billing.Models.MoveProductContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.MoveProductEligibilityResult>>
override this.ValidateMoveEligibilityAsync : Azure.ResourceManager.Billing.Models.MoveProductContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.MoveProductEligibilityResult>>
Public Overridable Function ValidateMoveEligibilityAsync (content As MoveProductContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MoveProductEligibilityResult))

Parameters

content
MoveProductContent

The properties of the product to initiate a transfer.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to