Partilhar via


NetworkTapRuleCollection.GetAsync(String, CancellationToken) Método

Definição

Obter detalhes do recurso de Regra de Toque de Rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}
  • Operação IdNetworkTapRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>> GetAsync (string networkTapRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>>
Public Overridable Function GetAsync (networkTapRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkTapRuleResource))

Parâmetros

networkTapRuleName
String

Nome da regra de toque de rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

networkTapRuleName é nulo.

Aplica-se a