Partager via


NetworkExtensions.GetVirtualNetworkTaps Méthode

Définition

Surcharges

GetVirtualNetworkTaps(ResourceGroupResource)

Obtient une collection de VirtualNetworkTapResources dans ResourceGroupResource.

GetVirtualNetworkTaps(SubscriptionResource, CancellationToken)

Obtient tous les VirtualNetworkTaps d’un abonnement.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps
  • IdVirtualNetworkTaps_ListAll d’opération

GetVirtualNetworkTaps(ResourceGroupResource)

Obtient une collection de VirtualNetworkTapResources dans ResourceGroupResource.

public static Azure.ResourceManager.Network.VirtualNetworkTapCollection GetVirtualNetworkTaps (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVirtualNetworkTaps : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.VirtualNetworkTapCollection
<Extension()>
Public Function GetVirtualNetworkTaps (resourceGroupResource As ResourceGroupResource) As VirtualNetworkTapCollection

Paramètres

resourceGroupResource
ResourceGroupResource

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

Retours

Objet représentant une collection de VirtualNetworkTapResources et leurs opérations sur un VirtualNetworkTapResource.

S’applique à

GetVirtualNetworkTaps(SubscriptionResource, CancellationToken)

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.Pageable<Azure.ResourceManager.Network.VirtualNetworkTapResource> GetVirtualNetworkTaps (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualNetworkTaps : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VirtualNetworkTapResource>
<Extension()>
Public Function GetVirtualNetworkTaps (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VirtualNetworkTapResource)

Paramètres

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

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

S’applique à