Partilhar via


VirtualWorkspaceResource.GetWorkspacePrivateEndpointConnection 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}
  • IdPrivateEndpointConnections_GetByWorkspace de operação
public virtual Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource> GetWorkspacePrivateEndpointConnection (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkspacePrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>
override this.GetWorkspacePrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>
Public Overridable Function GetWorkspacePrivateEndpointConnection (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 era esperado que não estivesse vazio.

privateEndpointConnectionName é nulo.

Aplica-se a