BillingExtensions.GetBillingSubscriptions(TenantResource, String) Method

Definition

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

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

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 BillingSubscriptionResources and their operations over a BillingSubscriptionResource.

Exceptions

tenantResource or billingAccountName is null.

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

Applies to