BillingExtensions.GetBillingPaymentMethod メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
呼び出し元が所有する支払い方法を取得します。
- 要求パス/プロバイダー/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 です。