Compartilhar via


WebPubSubSharedPrivateLinkCollection.GetAsync Método

Definição

Obter o recurso de link privado compartilhado especificado

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
  • Operação IdWebPubSubSharedPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubSharedPrivateLinkResource>> GetAsync (string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubSharedPrivateLinkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.WebPubSubSharedPrivateLinkResource>>
Public Overridable Function GetAsync (sharedPrivateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebPubSubSharedPrivateLinkResource))

Parâmetros

sharedPrivateLinkResourceName
String

O nome do recurso de link privado compartilhado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

sharedPrivateLinkResourceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

sharedPrivateLinkResourceName é nulo.

Aplica-se a