Share via


BillingExtensions.GetBillingPaymentMethods(TenantResource) Method

Definition

Gets a collection of BillingPaymentMethodResources in the TenantResource. MockingTo mock this method, please mock GetBillingPaymentMethods() instead.

public static Azure.ResourceManager.Billing.BillingPaymentMethodCollection GetBillingPaymentMethods (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetBillingPaymentMethods : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Billing.BillingPaymentMethodCollection
<Extension()>
Public Function GetBillingPaymentMethods (tenantResource As TenantResource) As BillingPaymentMethodCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of BillingPaymentMethodResources and their operations over a BillingPaymentMethodResource.

Exceptions

tenantResource is null.

Applies to