BillingExtensions.GetBillingPaymentMethodLinks Method

Definition

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

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

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingProfileName
String

The ID that uniquely identifies a billing profile.

Returns

An object representing collection of BillingPaymentMethodLinkResources and their operations over a BillingPaymentMethodLinkResource.

Exceptions

tenantResource, billingAccountName or billingProfileName is null.

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

Applies to