ManagedNetworkFabricExtensions.GetNetworkTapAsync Method

Definition

Retrieves details of this Network Tap.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}
  • Operation Id: NetworkTaps_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>> GetNetworkTapAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkTapName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkTapAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>>
<Extension()>
Public Function GetNetworkTapAsync (resourceGroupResource As ResourceGroupResource, networkTapName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkTapResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

networkTapName
String

Name of the Network Tap.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or networkTapName is null.

networkTapName is an empty string, and was expected to be non-empty.

Applies to