Partager via


NetworkExtensions.GetVirtualNetworkTapsAsync Méthode

Définition

Obtient tous les VirtualNetworkTaps d’un abonnement.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps
  • IdVirtualNetworkTaps_ListAll d’opération
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)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de VirtualNetworkTapResource service pour itérer.

S’applique à