Compartilhar via


ManagedNetworkFabricExtensions.GetNetworkPacketBroker Método

Definição

Recupera detalhes deste Agente de Pacotes de Rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/{networkPacketBrokerName}
  • Operação IdNetworkPacketBrokers_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)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

networkPacketBrokerName
String

Nome do Agente de Pacotes de Rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

networkPacketBrokerName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

networkPacketBrokerName é nulo.

Aplica-se a