Compartir a través de


ManagedNetworkFabricExtensions.GetNetworkTapRuleAsync Método

Definición

Obtiene los detalles del recurso de regla de pulsación de red.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}
  • IdNetworkTapRules_Get de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>> GetNetworkTapRuleAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkTapRuleName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkTapRuleAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>>
<Extension()>
Public Function GetNetworkTapRuleAsync (resourceGroupResource As ResourceGroupResource, networkTapRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkTapRuleResource))

Parámetros

resourceGroupResource
ResourceGroupResource

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

networkTapRuleName
String

Nombre de la regla de pulsación de red.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

networkTapRuleName es null.

Se aplica a