次の方法で共有


BillingExtensions.GetBillingPaymentMethod メソッド

定義

呼び出し元が所有する支払い方法を取得します。

  • 要求パス/プロバイダー/Microsoft.Billing/paymentMethods/{paymentMethodName}
  • 操作IdPaymentMethods_GetByUser
public static Azure.Response<Azure.ResourceManager.Billing.BillingPaymentMethodResource> GetBillingPaymentMethod (this Azure.ResourceManager.Resources.TenantResource tenantResource, string paymentMethodName, System.Threading.CancellationToken cancellationToken = default);
static member GetBillingPaymentMethod : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.BillingPaymentMethodResource>
<Extension()>
Public Function GetBillingPaymentMethod (tenantResource As TenantResource, paymentMethodName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BillingPaymentMethodResource)

パラメーター

tenantResource
TenantResource

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

paymentMethodName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

paymentMethodName が null です。

適用対象