你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MachineLearningLabelingJobCollection.Get 方法

定义

按名称/id 获取标记作业。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}
  • 操作IdLabelingJobs_Get
public virtual Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource> Get (string id, bool? includeJobInstructions = default, bool? includeLabelCategories = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource>
override this.Get : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource>
Public Overridable Function Get (id As String, Optional includeJobInstructions As Nullable(Of Boolean) = Nothing, Optional includeLabelCategories As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineLearningLabelingJobResource)

参数

id
String

标记作业的名称和标识符。

includeJobInstructions
Nullable<Boolean>

指示是否在响应中包含 JobInstructions 的布尔值。

includeLabelCategories
Nullable<Boolean>

指示是否在响应中包含 LabelCategories 的布尔值。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

id 是一个空字符串,预期为非空。

id 为 null。

适用于