Partager via


MachineLearningWorkspaceResource.GetMachineLearningJobAsync Méthode

Définition

Obtient un travail par nom/id.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}
  • IdJobs_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningJobResource>> GetMachineLearningJobAsync (string id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningJobResource>>
override this.GetMachineLearningJobAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningJobResource>>
Public Overridable Function GetMachineLearningJobAsync (id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningJobResource))

Paramètres

id
String

Nom et identificateur du travail. Cette valeur respecte la casse.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

id est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

id a la valeur null.

S’applique à