Compartilhar via


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

Parâmetros

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