Partilhar via


WebPubSubSharedPrivateLinkCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • IdWebPubSubSharedPrivateLinkResources_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (sharedPrivateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parâmetros

sharedPrivateLinkResourceName
String

O nome do recurso de link privado compartilhado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

sharedPrivateLinkResourceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

sharedPrivateLinkResourceName é nulo.

Aplica-se a