Partager via


RelayNamespaceResource.GetRelayPrivateLinkResourceAsync Méthode

Définition

Obtient une description du nom de connexion de point de terminaison privé spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/privateLinkResources/{privateLinkResourceName}
  • IdPrivateLinkResources_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayPrivateLinkResource>> GetRelayPrivateLinkResourceAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRelayPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayPrivateLinkResource>>
override this.GetRelayPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Relay.RelayPrivateLinkResource>>
Public Overridable Function GetRelayPrivateLinkResourceAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RelayPrivateLinkResource))

Paramètres

privateLinkResourceName
String

Nom PrivateLinkResource.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

privateLinkResourceName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

privateLinkResourceName a la valeur null.

S’applique à