Partilhar via


MachineLearningExtensions.GetMachineLearningWorkspaceAsync Método

Definição

Obtém as propriedades do workspace de machine learning especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • Operação IdWorkspaces_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>> GetMachineLearningWorkspaceAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string workspaceName, System.Threading.CancellationToken cancellationToken = default);
static member GetMachineLearningWorkspaceAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>>
<Extension()>
Public Function GetMachineLearningWorkspaceAsync (resourceGroupResource As ResourceGroupResource, workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningWorkspaceResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

workspaceName
String

Nome do workspace do Azure Machine Learning.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

workspaceName é nulo.

Aplica-se a