次の方法で共有


RecipientTransferDetailResource.ValidateAsync Method

Definition

Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.

  • Request Path: /providers/Microsoft.Billing/transfers/{transferName}/validate
  • Operation Id: RecipientTransfers_Validate
  • Default Api Version: 2024-04-01
  • Resource: RecipientTransferDetailResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingTransferValidationResult> ValidateAsync (Azure.ResourceManager.Billing.Models.AcceptTransferContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAsync : Azure.ResourceManager.Billing.Models.AcceptTransferContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingTransferValidationResult>
override this.ValidateAsync : Azure.ResourceManager.Billing.Models.AcceptTransferContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingTransferValidationResult>
Public Overridable Function ValidateAsync (content As AcceptTransferContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingTransferValidationResult)

Parameters

content
AcceptTransferContent

Request parameters that are provided to the validate transfer operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BillingTransferValidationResult that may take multiple service requests to iterate over.

Exceptions

content is null.

Applies to