Compartir a través de


ManagedNetworkFabricExtensions.GetNetworkPacketBrokerAsync Método

Definición

Recupera los detalles de este agente de paquetes de red.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/{networkPacketBrokerName}
  • IdNetworkPacketBrokers_Get de operaciones
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

Instancia ResourceGroupResource en la que se ejecutará el método.

networkPacketBrokerName
String

Nombre del Agente de paquetes de red.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

networkPacketBrokerName es una cadena vacía y se espera que no esté vacía.

networkPacketBrokerName es null.

Se aplica a