次の方法で共有


BillingExtensions.GetBillingPaymentMethodLinkAsync メソッド

定義

課金プロファイルにリンクされている支払い方法を取得します。 この操作は、契約の種類がMicrosoft 顧客契約の課金アカウントでのみサポートされます。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName}
  • 操作IdPaymentMethods_GetByBillingProfile
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.BillingPaymentMethodLinkResource>> GetBillingPaymentMethodLinkAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string billingAccountName, string billingProfileName, string paymentMethodName, System.Threading.CancellationToken cancellationToken = default);
static member GetBillingPaymentMethodLinkAsync : Azure.ResourceManager.Resources.TenantResource * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.BillingPaymentMethodLinkResource>>
<Extension()>
Public Function GetBillingPaymentMethodLinkAsync (tenantResource As TenantResource, billingAccountName As String, billingProfileName As String, paymentMethodName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingPaymentMethodLinkResource))

パラメーター

tenantResource
TenantResource

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

billingAccountName
String

課金アカウントを一意に識別する ID。

billingProfileName
String

課金プロファイルを一意に識別する ID。

paymentMethodName
String

支払い方法を一意に識別する ID。

cancellationToken
CancellationToken

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

戻り値

例外

billingAccountNamebillingProfileName または paymentMethodName は空の文字列であり、空でないと想定されていました。

billingAccountNamebillingProfileName、または paymentMethodName が null です。

適用対象