Freigeben über


NetworkExtensions.GetIPAllocationsAsync Methode

Definition

Ruft alle IpAllocations in einem Abonnement ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations
  • Vorgang IdIpAllocations_List
public static Azure.AsyncPageable<Azure.ResourceManager.Network.IPAllocationResource> GetIPAllocationsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetIPAllocationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.IPAllocationResource>
<Extension()>
Public Function GetIPAllocationsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of IPAllocationResource)

Parameter

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

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

Gilt für: