Share via


BillingExtensions.GetBillingAccounts(TenantResource) Method

Definition

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

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

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of BillingAccountResources and their operations over a BillingAccountResource.

Exceptions

tenantResource is null.

Applies to