BillingExtensions.GetBillingAccountPaymentMethods Method

Definition

Gets a collection of BillingAccountPaymentMethodResources in the TenantResource. MockingTo mock this method, please mock GetBillingAccountPaymentMethods(String) instead.

public static Azure.ResourceManager.Billing.BillingAccountPaymentMethodCollection GetBillingAccountPaymentMethods (this Azure.ResourceManager.Resources.TenantResource tenantResource, string billingAccountName);
static member GetBillingAccountPaymentMethods : Azure.ResourceManager.Resources.TenantResource * string -> Azure.ResourceManager.Billing.BillingAccountPaymentMethodCollection
<Extension()>
Public Function GetBillingAccountPaymentMethods (tenantResource As TenantResource, billingAccountName As String) As BillingAccountPaymentMethodCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

billingAccountName
String

The ID that uniquely identifies a billing account.

Returns

An object representing collection of BillingAccountPaymentMethodResources and their operations over a BillingAccountPaymentMethodResource.

Exceptions

tenantResource or billingAccountName is null.

billingAccountName is an empty string, and was expected to be non-empty.

Applies to