BillingExtensions.GetBillingSubscriptionAliases Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET