Share via


ManagedNetworkFabricExtensions.GetNetworkPacketBrokerAsync Method

Definition

Retrieves details of this Network Packet Broker.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

networkPacketBrokerName
String

Name of the Network Packet Broker.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or networkPacketBrokerName is null.

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

Applies to