Compartilhar via


MachineLearningWorkspaceResource.GetMachineLearningWorkspaceConnectionAsync Método

Definição

Lista conexões de workspaces de machine learning por nome.

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

Parâmetros

connectionName
String

Nome amigável da conexão do workspace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

connectionName é nulo.

Aplica-se a