BillingBenefitsExtensions.ValidatePurchaseAsync メソッド

定義

節約プランの購入を検証します。

  • 要求パス/プロバイダー/Microsoft.BillingBenefits/validate
  • 操作 IdValidatePurchase
public static Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.Models.SavingsPlanValidateResult> ValidatePurchaseAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.BillingBenefits.Models.SavingsPlanPurchaseValidateContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidatePurchaseAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.BillingBenefits.Models.SavingsPlanPurchaseValidateContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.Models.SavingsPlanValidateResult>
<Extension()>
Public Function ValidatePurchaseAsync (tenantResource As TenantResource, content As SavingsPlanPurchaseValidateContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SavingsPlanValidateResult)

パラメーター

tenantResource
TenantResource

TenantResourceメソッドが実行するインスタンス。

content
SavingsPlanPurchaseValidateContent

節約プランの購入を検証するための要求本文。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の SavingsPlanValidateResult サービス要求を受け取る可能性がある の非同期コレクション。

例外

content が null です。

適用対象