Partilhar via


EventGridTopicPrivateLinkResourceCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • Operação IdPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string privateLinkResourceName, 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 (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parâmetros

privateLinkResourceName
String

O nome do recurso de link privado será tópico, domínio, partnerNamespace ou namespace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

privateLinkResourceName é nulo.

Aplica-se a