Freigeben über


NetworkExtensions.GetAvailableServiceAliasesAsync Methode

Definition

Ruft alle verfügbaren Dienstalias für dieses Abonnement in dieser Region ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases
  • Vorgang IdAvailableServiceAliases_List
public static Azure.AsyncPageable<Azure.ResourceManager.Network.Models.AvailableServiceAlias> GetAvailableServiceAliasesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableServiceAliasesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.AvailableServiceAlias>
<Extension()>
Public Function GetAvailableServiceAliasesAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvailableServiceAlias)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Der Speicherort.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der AvailableServiceAlias mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: