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