Delen via


BillingExtensions.GetBillingSubscriptionAliases Method

Definition

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

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

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 BillingSubscriptionAliasResources and their operations over a BillingSubscriptionAliasResource.

Exceptions

tenantResource or billingAccountName is null.

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

Applies to