Freigeben über


BillingExtensions.GetBillingSubscriptionAliases Methode

Definition

Ruft eine Auflistung von BillingSubscriptionAliasResources in der TenantResource ab.

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

Parameter

tenantResource
TenantResource

Der TenantResource instance die -Methode ausgeführt wird.

billingAccountName
String

Die ID, die ein Abrechnungskonto eindeutig identifiziert.

Gibt zurück

Ein Objekt, das die Auflistung von BillingSubscriptionAliasResources und deren Vorgängen über eine BillingSubscriptionAliasResource darstellt.

Ausnahmen

billingAccountName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

billingAccountName ist NULL.

Gilt für: