Compartilhar via


NetworkTapRuleCollection.Exists(String, CancellationToken) Método

Definição

Verifica se o recurso existe no azure.

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

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 era esperado que não estivesse vazio.

networkTapRuleName é nulo.

Aplica-se a