Share via


BillingAccountPaymentMethodResource.Get(CancellationToken) Method

Definition

Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods/{paymentMethodName}
  • Operation Id: PaymentMethods_GetByBillingAccount
public virtual Azure.Response<Azure.ResourceManager.Billing.BillingAccountPaymentMethodResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.BillingAccountPaymentMethodResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.BillingAccountPaymentMethodResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of BillingAccountPaymentMethodResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to