Partilhar via


ManagedNetworkFabricExtensions.GetNetworkPacketBrokerAsync Método

Definição

Recupera detalhes desse Agente de Pacotes de Rede.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual 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 era esperado que não estivesse vazio.

networkPacketBrokerName é nulo.

Aplica-se a