다음을 통해 공유


NetworkExtensions.GetVirtualNetworkTaps Method

Definition

Overloads

GetVirtualNetworkTaps(ResourceGroupResource)

Gets a collection of VirtualNetworkTapResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualNetworkTaps() instead.

GetVirtualNetworkTaps(SubscriptionResource, CancellationToken)

Gets all the VirtualNetworkTaps in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps
  • Operation Id: VirtualNetworkTaps_ListAll
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource

GetVirtualNetworkTaps(ResourceGroupResource)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets a collection of VirtualNetworkTapResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualNetworkTaps() instead.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VirtualNetworkTapResources and their operations over a VirtualNetworkTapResource.

Exceptions

resourceGroupResource is null.

Applies to

GetVirtualNetworkTaps(SubscriptionResource, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets all the VirtualNetworkTaps in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps
  • Operation Id: VirtualNetworkTaps_ListAll
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkTapResource
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)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of VirtualNetworkTapResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to