MockableManagedNetworkFabricResourceGroupResource.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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>> GetNetworkTapAsync (string networkTapName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkTapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>>
override this.GetNetworkTapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>>
Public Overridable Function GetNetworkTapAsync (networkTapName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkTapResource))

Parameters

networkTapName
String

Name of the Network Tap.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

networkTapName is null.

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

Applies to