Compartilhar via


VirtualWorkspaceResource.GetWorkspacePrivateEndpointConnectionAsync Método

Definição

Obter uma conexão de ponto de extremidade privado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operação IdPrivateEndpointConnections_GetByWorkspace
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>> GetWorkspacePrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkspacePrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>>
override this.GetWorkspacePrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>>
Public Overridable Function GetWorkspacePrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WorkspacePrivateEndpointConnectionResource))

Parâmetros

privateEndpointConnectionName
String

O nome da conexão de ponto de extremidade privado associada ao recurso do Azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

privateEndpointConnectionName é nulo.

Aplica-se a