Share via


SubscriptionExtensions.GetSubscriptionAliases(TenantResource) Method

Definition

Gets a collection of SubscriptionAliasResources in the TenantResource. MockingTo mock this method, please mock GetSubscriptionAliases() instead.

public static Azure.ResourceManager.Subscription.SubscriptionAliasCollection GetSubscriptionAliases (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetSubscriptionAliases : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Subscription.SubscriptionAliasCollection
<Extension()>
Public Function GetSubscriptionAliases (tenantResource As TenantResource) As SubscriptionAliasCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of SubscriptionAliasResources and their operations over a SubscriptionAliasResource.

Exceptions

tenantResource is null.

Applies to