Compartilhar via


EventGridDomainResource.GetEventGridDomainPrivateLinkResourceAsync Método

Definição

Obter propriedades de um recurso de link privado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • IdPrivateLinkResources_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.EventGridDomainPrivateLinkResource>> GetEventGridDomainPrivateLinkResourceAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventGridDomainPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.EventGridDomainPrivateLinkResource>>
override this.GetEventGridDomainPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.EventGridDomainPrivateLinkResource>>
Public Overridable Function GetEventGridDomainPrivateLinkResourceAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EventGridDomainPrivateLinkResource))

Parâmetros

privateLinkResourceName
String

O nome do recurso de link privado será topic, domain, partnerNamespace ou namespace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

privateLinkResourceName é nulo.

Aplica-se a