Partilhar via


EventGridTopicPrivateLinkResourceCollection.Get 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}
  • Operação IdPrivateLinkResources_Get
public virtual Azure.Response<Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource> Get (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource>
Public Overridable Function Get (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventGridTopicPrivateLinkResource)

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