Partager via


PartnerNamespacePrivateLinkResourceCollection.GetAsync Méthode

Définition

Obtient les propriétés d’une ressource de liaison privée.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • IdPrivateLinkResources_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerNamespacePrivateLinkResource>> GetAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerNamespacePrivateLinkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerNamespacePrivateLinkResource>>
Public Overridable Function GetAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PartnerNamespacePrivateLinkResource))

Paramètres

privateLinkResourceName
String

Le nom de la ressource de liaison privée sera rubrique, domaine, partnerNamespace ou espace de noms.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

privateLinkResourceName est une chaîne vide et devait être non vide.

privateLinkResourceName a la valeur null.

S’applique à