Freigeben über


NetworkExtensions.GetCustomIPPrefixesAsync Methode

Definition

Ruft alle benutzerdefinierten IP-Präfixe in einem Abonnement ab.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes
  • Vorgangs-IdCustomIPPrefixes_ListAll
public static Azure.AsyncPageable<Azure.ResourceManager.Network.CustomIPPrefixResource> GetCustomIPPrefixesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetCustomIPPrefixesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.CustomIPPrefixResource>
<Extension()>
Public Function GetCustomIPPrefixesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CustomIPPrefixResource)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von CustomIPPrefixResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: