Freigeben über


NetworkExtensions.GetVirtualNetworkTapsAsync Methode

Definition

Ruft alle VirtualNetworkTaps in einem Abonnement ab.

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

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

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

Gilt für: