Share via


MockableBillingTenantResource.GetBillingSubscriptions(String) Method

Definition

Gets a collection of BillingSubscriptionResources in the TenantResource.

public virtual Azure.ResourceManager.Billing.BillingSubscriptionCollection GetBillingSubscriptions (string billingAccountName);
abstract member GetBillingSubscriptions : string -> Azure.ResourceManager.Billing.BillingSubscriptionCollection
override this.GetBillingSubscriptions : string -> Azure.ResourceManager.Billing.BillingSubscriptionCollection
Public Overridable Function GetBillingSubscriptions (billingAccountName As String) As BillingSubscriptionCollection

Parameters

billingAccountName
String

The ID that uniquely identifies a billing account.

Returns

An object representing collection of BillingSubscriptionResources and their operations over a BillingSubscriptionResource.

Exceptions

billingAccountName is null.

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

Applies to