Share via


ManagedNetworkFabricExtensions.GetNetworkTap 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 Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource> GetNetworkTap (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkTapName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkTap : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>
<Extension()>
Public Function GetNetworkTap (resourceGroupResource As ResourceGroupResource, networkTapName As String, Optional cancellationToken As CancellationToken = Nothing) As 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