Compartir a través de


RelayPrivateLinkResourceCollection.GetAsync(String, CancellationToken) Método

Definición

Obtiene una descripción para el nombre de conexión de punto de conexión privado especificado.

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

Parámetros

privateLinkResourceName
String

Nombre de PrivateLinkResource.

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