Compartir a través de


EventGridTopicResource.GetEventGridTopicPrivateLinkResourceAsync Método

Definición

Obtiene las propiedades de un recurso de vínculo privado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • IdPrivateLinkResources_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource>> GetEventGridTopicPrivateLinkResourceAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventGridTopicPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource>>
override this.GetEventGridTopicPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource>>
Public Overridable Function GetEventGridTopicPrivateLinkResourceAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EventGridTopicPrivateLinkResource))

Parámetros

privateLinkResourceName
String

El nombre del recurso private link será tema, dominio, partnerNamespace o espacio de nombres.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

privateLinkResourceName es una cadena vacía y se espera que no esté vacía.

privateLinkResourceName es null.

Se aplica a