次の方法で共有


MachineLearningWorkspaceResource.GetMachineLearningJobAsync メソッド

定義

名前/ID でジョブを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}
  • 操作IdJobs_Get
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))

パラメーター

id
String

ジョブの名前と識別子。 これは大文字小文字を区別します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

id は空の文字列であり、空でないと想定されていました。

id が null です。

適用対象