Compartilhar via


EndpointResourceCollection.Exists(String, CancellationToken) Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}
  • IdEndpoints_Get de operação
public virtual Azure.Response<bool> Exists (string endpointName, 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 (endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parâmetros

endpointName
String

O nome do ponto de extremidade.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

endpointName é nulo.

Aplica-se a