你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft.MachineLearningServices workspaces/labelingJobs 2022-10-01-preview
Bicep 资源定义
workspaces/labelingJobs 资源类型可以通过针对以下操作进行部署:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.MachineLearningServices/workspaces/labelingJobs 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.MachineLearningServices/workspaces/labelingJobs@2022-10-01-preview' = {
name: 'string'
parent: resourceSymbolicName
properties: {
componentId: 'string'
computeId: 'string'
dataConfiguration: {
dataId: 'string'
incrementalDataRefreshEnabled: bool
}
description: 'string'
displayName: 'string'
experimentName: 'string'
identity: {
identityType: 'string'
// For remaining properties, see IdentityConfiguration objects
}
isArchived: bool
jobInstructions: {
uri: 'string'
}
jobType: 'string'
labelCategories: {
{customized property}: {
classes: {
{customized property}: {
displayName: 'string'
subclasses: {
{customized property}: {}
}
}
displayName: 'string'
multiSelectEnabled: bool
}
{customized property}: {
classes: {
{customized property}: {
displayName: 'string'
subclasses: {
{customized property}: {}
}
}
displayName: 'string'
multiSelectEnabled: bool
}
}
labelingJobMediaProperties: {
mediaType: 'string'
// For remaining properties, see LabelingJobMediaProperties objects
}
mlAssistConfiguration: {
mlAssist: 'string'
// For remaining properties, see MLAssistConfiguration objects
}
properties: {
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
}
services: {
{customized property}: {
endpoint: 'string'
jobServiceType: 'string'
nodes: {
nodesValueType: 'string'
// For remaining properties, see Nodes objects
}
port: int
properties: {
{customized property}: 'string'
}
}
{customized property}: {
endpoint: 'string'
jobServiceType: 'string'
nodes: {
nodesValueType: 'string'
// For remaining properties, see Nodes objects
}
port: int
properties: {
{customized property}: 'string'
}
}
}
tags: {
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
{customized property}: 'string'
}
}
}
IdentityConfiguration 对象
设置 identityType 属性以指定对象的类型。
对于 AMLToken,请使用:
identityType: 'AMLToken'
对于 “托管”,请使用:
identityType: 'Managed'
clientId: 'string'
objectId: 'string'
resourceId: 'string'
对于 UserIdentity,请使用:
identityType: 'UserIdentity'
LabelingJobMediaProperties 对象
设置 mediaType 属性以指定对象的类型。
对于 Image,请使用:
mediaType: 'Image'
annotationType: 'string'
对于 “文本”,请使用:
mediaType: 'Text'
annotationType: 'string'
MLAssistConfiguration 对象
设置 mlAssist 属性以指定对象的类型。
对于 Disabled,请使用:
mlAssist: 'Disabled'
对于 “已启用”,请使用:
mlAssist: 'Enabled'
inferencingComputeBinding: 'string'
trainingComputeBinding: 'string'
Nodes 对象
设置 nodesValueType 属性以指定对象的类型。
对于 “全部”,请使用:
nodesValueType: 'All'
属性值
workspaces/labelingJobs
名称 | 说明 | 值 |
---|---|---|
name | 资源名称 了解如何在 Bicep 中为子资源设置名称和类型。 |
字符串 (必需) |
父级 (parent) | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源之外的子资源。 |
类型为资源的符号名称: 工作区 |
properties | [必需]实体的其他属性。 | 需要标记JobProperties () |
LabelingJobProperties
名称 | 说明 | 值 |
---|---|---|
componentId | 组件资源的 ARM 资源 ID。 | 字符串 |
computeId | 计算资源的 ARM 资源 ID。 | string |
dataConfiguration | 配置作业中使用的数据。 | LabelingDataConfiguration |
description | 资产说明文本。 | 字符串 |
displayName | 作业的显示名称。 | 字符串 |
experimentName | 作业所属的试验的名称。 如果未设置,作业将置于“默认”试验中。 | string |
标识 | 标识配置。 如果已设置,应为 AmlToken、ManagedIdentity、UserIdentity 或 null 之一。 如果为 null,则默认为 AmlToken。 |
IdentityConfiguration |
isArchived | 资产是否已存档? | bool |
jobInstructions | 作业的标记说明。 | LabelingJobInstructions |
jobType | [必需]指定作业的类型。 | “AutoML” “Command” “标记” “Pipeline” “Spark” 需要“扫描” () |
labelCategories | 作业的标签类别。 | LabelingJobLabelCategories |
labelingJobMediaProperties | 作业中的媒体类型特定属性。 | LabelingJobMediaProperties |
mlAssistConfiguration | 在作业中配置 MLAssist 功能。 | MLAssistConfiguration |
properties | 资产属性字典。 | ResourceBaseProperties |
services | JobEndpoints 列表。 对于本地作业,作业终结点的终结点值为 FileStreamObject。 |
JobBaseServices |
标记 | 标记字典。 可以添加、删除和更新标记。 | 对象 (object) |
LabelingDataConfiguration
名称 | 说明 | 值 |
---|---|---|
dataId | 要执行标记的数据资产的资源 ID。 | string |
incrementalDataRefreshEnabled | 指示是否启用增量数据刷新。 | bool |
IdentityConfiguration
名称 | 说明 | 值 |
---|---|---|
IdentityType | 设置对象类型 | AMLToken 托管 需要 UserIdentity () |
AmlToken
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “AMLToken” (必需) |
ManagedIdentity
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “托管” (必需) |
clientId | 按客户端 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 约束: 最小长度 = 36 最大长度 = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
objectId | 按对象 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | string 约束: 最小长度 = 36 最大长度 = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
ResourceId | 按 ARM 资源 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 |
UserIdentity
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “UserIdentity” (必需的) |
LabelingJobInstructions
名称 | 说明 | 值 |
---|---|---|
uri | 指向包含标签器详细标记说明的页面的链接。 | 字符串 |
LabelingJobLabelCategories
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelCategory | |
{customized property} | LabelCategory |
LabelCategory
名称 | 说明 | 值 |
---|---|---|
类 | 此类别中的标签类字典。 | LabelCategoryClasses |
displayName | 标签类别的显示名称。 | string |
multiSelectEnabled | 指示是否允许在此类别中选择多个类。 | bool |
LabelCategoryClasses
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelClass |
LabelClass
名称 | 说明 | 值 |
---|---|---|
displayName | 标签类的显示名称。 | 字符串 |
子 | 标签类的子类字典。 | LabelClassSubclasses |
LabelClassSubclasses
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelClass |
LabelingJobMediaProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | 设置对象类型 | 图像 需要文本 () |
LabelingJobImageProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | [必需]作业的媒体类型。 | “Image” (必需) |
annotationType | 图像标记作业的注释类型。 | “BoundingBox” “分类” “InstanceSegmentation” |
LabelingJobTextProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | [必需]作业的媒体类型。 | “Text” (必需) |
annotationType | 文本标记作业的注释类型。 | “分类” “NamedEntityRecognition” |
MLAssistConfiguration
名称 | 说明 | 值 |
---|---|---|
mlAssist | 设置对象类型 | 已禁用 已启用 (必需) |
MLAssistConfigurationDisabled
名称 | 说明 | 值 |
---|---|---|
mlAssist | [必需]指示是否启用 MLAssist 功能。 | “Disabled” (必需) |
MLAssistConfigurationEnabled
名称 | 说明 | 值 |
---|---|---|
mlAssist | [必需]指示是否启用 MLAssist 功能。 | “已启用” (必需) |
inferencingComputeBinding | [必需]用于推理的 AML 计算绑定。 | 字符串 (必需) 约束: Pattern = [a-zA-Z0-9_] |
trainingComputeBinding | [必需]训练中使用的 AML 计算绑定。 | 字符串 (必需) 约束: Pattern = [a-zA-Z0-9_] |
ResourceBaseProperties
名称 | 说明 | 值 |
---|---|---|
{customized property} | 字符串 | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string |
JobBaseServices
名称 | 说明 | 值 |
---|---|---|
{customized property} | JobService | |
{customized property} | JobService |
JobService
名称 | 说明 | 值 |
---|---|---|
endpoint | 终结点的 URL。 | string |
jobServiceType | 终结点类型。 | 字符串 |
nodes | 用户想要启动服务的节点。 如果未将 Nodes 设置为 null,则仅在领导节点上启动该服务。 |
Nodes |
port | 用户设置的终结点的端口。 | int |
properties | 要对终结点设置的其他属性。 | JobServiceProperties |
Nodes
名称 | 说明 | 值 |
---|---|---|
nodesValueType | 设置对象类型 | 所有 (必需) |
AllNodes
名称 | 说明 | 值 |
---|---|---|
nodesValueType | [必需]Nodes 值的类型 | “All” (必需) |
JobServiceProperties
名称 | 说明 | 值 |
---|---|---|
{customized property} | 字符串 |
ARM 模板资源定义
workspaces/labelingJobs 资源类型可以通过针对以下操作进行部署:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.MachineLearningServices/workspaces/labelingJobs 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.MachineLearningServices/workspaces/labelingJobs",
"apiVersion": "2022-10-01-preview",
"name": "string",
"properties": {
"componentId": "string",
"computeId": "string",
"dataConfiguration": {
"dataId": "string",
"incrementalDataRefreshEnabled": "bool"
},
"description": "string",
"displayName": "string",
"experimentName": "string",
"identity": {
"identityType": "string"
// For remaining properties, see IdentityConfiguration objects
},
"isArchived": "bool",
"jobInstructions": {
"uri": "string"
},
"jobType": "string",
"labelCategories": {
"{customized property}": {
"classes": {
"{customized property}": {
"displayName": "string",
"subclasses": {
"{customized property}": {}
}
},
"displayName": "string",
"multiSelectEnabled": "bool"
},
"{customized property}": {
"classes": {
"{customized property}": {
"displayName": "string",
"subclasses": {
"{customized property}": {}
}
},
"displayName": "string",
"multiSelectEnabled": "bool"
}
},
"labelingJobMediaProperties": {
"mediaType": "string"
// For remaining properties, see LabelingJobMediaProperties objects
},
"mlAssistConfiguration": {
"mlAssist": "string"
// For remaining properties, see MLAssistConfiguration objects
},
"properties": {
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string"
},
"services": {
"{customized property}": {
"endpoint": "string",
"jobServiceType": "string",
"nodes": {
"nodesValueType": "string"
// For remaining properties, see Nodes objects
},
"port": "int",
"properties": {
"{customized property}": "string"
}
},
"{customized property}": {
"endpoint": "string",
"jobServiceType": "string",
"nodes": {
"nodesValueType": "string"
// For remaining properties, see Nodes objects
},
"port": "int",
"properties": {
"{customized property}": "string"
}
}
},
"tags": {
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string",
"{customized property}": "string"
}
}
}
IdentityConfiguration 对象
设置 identityType 属性以指定对象的类型。
对于 AMLToken,请使用:
"identityType": "AMLToken"
对于 “托管”,请使用:
"identityType": "Managed",
"clientId": "string",
"objectId": "string",
"resourceId": "string"
对于 UserIdentity,请使用:
"identityType": "UserIdentity"
LabelingJobMediaProperties 对象
设置 mediaType 属性以指定对象的类型。
对于 Image,请使用:
"mediaType": "Image",
"annotationType": "string"
对于 “文本”,请使用:
"mediaType": "Text",
"annotationType": "string"
MLAssistConfiguration 对象
设置 mlAssist 属性以指定对象的类型。
对于 Disabled,请使用:
"mlAssist": "Disabled"
对于 “已启用”,请使用:
"mlAssist": "Enabled",
"inferencingComputeBinding": "string",
"trainingComputeBinding": "string"
Nodes 对象
设置 nodesValueType 属性以指定对象的类型。
对于 “全部”,请使用:
"nodesValueType": "All"
属性值
workspaces/labelingJobs
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.MachineLearningServices/workspaces/labelingJobs” |
apiVersion | 资源 API 版本 | “2022-10-01-preview” |
name | 资源名称 了解如何在 JSON ARM 模板中为子资源设置名称和类型。 |
字符串 (必需) |
properties | [必需]实体的其他属性。 | 需要标记JobProperties () |
LabelingJobProperties
名称 | 说明 | 值 |
---|---|---|
componentId | 组件资源的 ARM 资源 ID。 | 字符串 |
computeId | 计算资源的 ARM 资源 ID。 | string |
dataConfiguration | 配置作业中使用的数据。 | LabelingDataConfiguration |
description | 资产说明文本。 | 字符串 |
displayName | 作业的显示名称。 | 字符串 |
experimentName | 作业所属的试验的名称。 如果未设置,作业将置于“默认”试验中。 | string |
标识 | 标识配置。 如果已设置,应为 AmlToken、ManagedIdentity、UserIdentity 或 null 之一。 如果为 null,则默认为 AmlToken。 |
IdentityConfiguration |
isArchived | 资产是否已存档? | bool |
jobInstructions | 作业的标记说明。 | LabelingJobInstructions |
jobType | [必需]指定作业的类型。 | “AutoML” “Command” “标记” “Pipeline” “Spark” 需要“扫描” () |
labelCategories | 作业的标签类别。 | LabelingJobLabelCategories |
labelingJobMediaProperties | 作业中的媒体类型特定属性。 | LabelingJobMediaProperties |
mlAssistConfiguration | 在作业中配置 MLAssist 功能。 | MLAssistConfiguration |
properties | 资产属性字典。 | ResourceBaseProperties |
services | JobEndpoints 列表。 对于本地作业,作业终结点的终结点值为 FileStreamObject。 |
JobBaseServices |
标记 | 标记字典。 可以添加、删除和更新标记。 | 对象 (object) |
LabelingDataConfiguration
名称 | 说明 | 值 |
---|---|---|
dataId | 要执行标记的数据资产的资源 ID。 | 字符串 |
incrementalDataRefreshEnabled | 指示是否启用增量数据刷新。 | bool |
IdentityConfiguration
名称 | 说明 | 值 |
---|---|---|
IdentityType | 设置对象类型 | AMLToken 托管 需要 UserIdentity () |
AmlToken
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “AMLToken” (必需) |
ManagedIdentity
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “托管” (必需) |
clientId | 按客户端 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 约束: 最小长度 = 36 最大长度 = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
objectId | 按对象 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 约束: 最小长度 = 36 最大长度 = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
ResourceId | 按 ARM 资源 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 |
UserIdentity
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “UserIdentity” (必需的) |
LabelingJobInstructions
名称 | 说明 | 值 |
---|---|---|
uri | 指向包含标签器详细标记说明的页面的链接。 | 字符串 |
LabelingJobLabelCategories
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelCategory | |
{customized property} | LabelCategory |
LabelCategory
名称 | 说明 | 值 |
---|---|---|
类 | 此类别中的标签类字典。 | LabelCategoryClasses |
displayName | 标签类别的显示名称。 | string |
multiSelectEnabled | 指示是否允许在此类别中选择多个类。 | bool |
LabelCategoryClasses
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelClass |
LabelClass
名称 | 说明 | 值 |
---|---|---|
displayName | 标签类的显示名称。 | 字符串 |
子 | 标签类的子类字典。 | LabelClassSubclasses |
LabelClassSubclasses
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelClass |
LabelingJobMediaProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | 设置对象类型 | 图像 需要文本 () |
LabelingJobImageProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | [必需]作业的媒体类型。 | “Image” (必需) |
annotationType | 图像标记作业的注释类型。 | “BoundingBox” “Classification” “InstanceSegmentation” |
LabelingJobTextProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | [必需]作业的媒体类型。 | “Text” (必需) |
annotationType | 文本标记作业的批注类型。 | “Classification” 'NamedEntityRecognition' |
MLAssistConfiguration
名称 | 说明 | 值 |
---|---|---|
mlAssist | 设置对象类型 | 已禁用 启用 (所需的) |
MLAssistConfigurationDisabled
名称 | 说明 | 值 |
---|---|---|
mlAssist | [必需]指示是否启用 MLAssist 功能。 | “Disabled” (必需) |
MLAssistConfigurationEnabled
名称 | 说明 | 值 |
---|---|---|
mlAssist | [必需]指示是否启用 MLAssist 功能。 | “Enabled” (必需) |
inferencingComputeBinding | [必需]用于推理的 AML 计算绑定。 | 字符串 (必需) 约束: 模式 = [a-zA-Z0-9_] |
trainingComputeBinding | [必需]训练中使用的 AML 计算绑定。 | 字符串 (必需) 约束: 模式 = [a-zA-Z0-9_] |
ResourceBaseProperties
名称 | 说明 | 值 |
---|---|---|
{customized property} | 字符串 | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | string |
JobBaseServices
名称 | 说明 | 值 |
---|---|---|
{customized property} | JobService | |
{customized property} | JobService |
JobService
名称 | 说明 | 值 |
---|---|---|
endpoint | 终结点的 URL。 | string |
jobServiceType | 终结点类型。 | 字符串 |
nodes | 用户要启动服务的节点。 如果 Nodes 未设置为或设置为 null,则服务将仅在前导节点上启动。 |
Nodes |
port | 用户设置的终结点的端口。 | int |
properties | 要对终结点设置的其他属性。 | JobServiceProperties |
Nodes
名称 | 说明 | 值 |
---|---|---|
nodesValueType | 设置对象类型 | 所有 (必需) |
AllNodes
名称 | 说明 | 值 |
---|---|---|
nodesValueType | [必需]Nodes 值的类型 | “All” (必需) |
JobServiceProperties
名称 | 说明 | 值 |
---|---|---|
{customized property} | 字符串 |
Terraform (AzAPI 提供程序) 资源定义
workspaces/labelingJobs 资源类型可以通过针对以下操作进行部署:
- 资源组
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.MachineLearningServices/workspaces/labelingJobs 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MachineLearningServices/workspaces/labelingJobs@2022-10-01-preview"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
componentId = "string"
computeId = "string"
dataConfiguration = {
dataId = "string"
incrementalDataRefreshEnabled = bool
}
description = "string"
displayName = "string"
experimentName = "string"
identity = {
identityType = "string"
// For remaining properties, see IdentityConfiguration objects
}
isArchived = bool
jobInstructions = {
uri = "string"
}
jobType = "string"
labelCategories = {
{customized property} = {
classes = {
{customized property} = {
displayName = "string"
subclasses = {
{customized property} = {}
}
}
displayName = "string"
multiSelectEnabled = bool
}
{customized property} = {
classes = {
{customized property} = {
displayName = "string"
subclasses = {
{customized property} = {}
}
}
displayName = "string"
multiSelectEnabled = bool
}
}
labelingJobMediaProperties = {
mediaType = "string"
// For remaining properties, see LabelingJobMediaProperties objects
}
mlAssistConfiguration = {
mlAssist = "string"
// For remaining properties, see MLAssistConfiguration objects
}
properties = {
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
}
services = {
{customized property} = {
endpoint = "string"
jobServiceType = "string"
nodes = {
nodesValueType = "string"
// For remaining properties, see Nodes objects
}
port = int
properties = {
{customized property} = "string"
}
}
{customized property} = {
endpoint = "string"
jobServiceType = "string"
nodes = {
nodesValueType = "string"
// For remaining properties, see Nodes objects
}
port = int
properties = {
{customized property} = "string"
}
}
}
tags = {
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
{customized property} = "string"
}
}
})
}
IdentityConfiguration 对象
设置 identityType 属性以指定对象的类型。
对于 AMLToken,请使用:
identityType = "AMLToken"
对于 “托管”,请使用:
identityType = "Managed"
clientId = "string"
objectId = "string"
resourceId = "string"
对于 UserIdentity,请使用:
identityType = "UserIdentity"
LabelingJobMediaProperties 对象
设置 mediaType 属性以指定对象的类型。
对于 Image,请使用:
mediaType = "Image"
annotationType = "string"
对于 “文本”,请使用:
mediaType = "Text"
annotationType = "string"
MLAssistConfiguration 对象
设置 mlAssist 属性以指定对象的类型。
对于 Disabled,请使用:
mlAssist = "Disabled"
对于 “已启用”,请使用:
mlAssist = "Enabled"
inferencingComputeBinding = "string"
trainingComputeBinding = "string"
Nodes 对象
设置 nodesValueType 属性以指定对象的类型。
对于 “全部”,请使用:
nodesValueType = "All"
属性值
workspaces/labelingJobs
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.MachineLearningServices/workspaces/labelingJobs@2022-10-01-preview” |
name | 资源名称 | 字符串 (必需) |
parent_id | 此资源的父资源 ID。 | 类型为“工作区”的资源的 ID |
properties | [必需]实体的其他属性。 | 需要标记JobProperties () |
LabelingJobProperties
名称 | 说明 | 值 |
---|---|---|
componentId | 组件资源的 ARM 资源 ID。 | 字符串 |
computeId | 计算资源的 ARM 资源 ID。 | 字符串 |
dataConfiguration | 配置作业中使用的数据。 | LabelingDataConfiguration |
description | 资产说明文本。 | 字符串 |
displayName | 作业的显示名称。 | 字符串 |
experimentName | 作业所属的试验的名称。 如果未设置,作业将置于“默认”试验中。 | string |
标识 | 标识配置。 如果已设置,应为 AmlToken、ManagedIdentity、UserIdentity 或 null 之一。 如果为 null,则默认为 AmlToken。 |
IdentityConfiguration |
isArchived | 资产是否已存档? | bool |
jobInstructions | 作业的标记说明。 | LabelingJobInstructions |
jobType | [必需]指定作业的类型。 | “AutoML” “Command” “标记” “Pipeline” “Spark” “扫描” (必需) |
labelCategories | 作业的标签类别。 | LabelingJobLabelCategories |
labelingJobMediaProperties | 作业中的媒体类型特定属性。 | LabelingJobMediaProperties |
mlAssistConfiguration | 在作业中配置 MLAssist 功能。 | MLAssistConfiguration |
properties | 资产属性字典。 | ResourceBaseProperties |
services | JobEndpoints 列表。 对于本地作业,作业终结点的终结点值为 FileStreamObject。 |
JobBaseServices |
标记 | 标记字典。 可以添加、删除和更新标记。 | 对象 (object) |
LabelingDataConfiguration
名称 | 说明 | 值 |
---|---|---|
dataId | 要执行标记的数据资产的资源 ID。 | string |
incrementalDataRefreshEnabled | 指示是否启用增量数据刷新。 | bool |
IdentityConfiguration
名称 | 说明 | 值 |
---|---|---|
IdentityType | 设置对象类型 | AMLToken 托管 需要 UserIdentity () |
AmlToken
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “AMLToken” (必需) |
ManagedIdentity
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “托管” (必需) |
clientId | 按客户端 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 约束: 最小长度 = 36 最大长度 = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
objectId | 按对象 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 约束: 最小长度 = 36 最大长度 = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
ResourceId | 按 ARM 资源 ID 指定用户分配的标识。 对于系统分配的,请勿设置此字段。 | 字符串 |
UserIdentity
名称 | 说明 | 值 |
---|---|---|
IdentityType | [必需]指定标识框架的类型。 | “UserIdentity” (必需) |
LabelingJobInstructions
名称 | 说明 | 值 |
---|---|---|
uri | 指向包含标签器详细标记说明的页面的链接。 | 字符串 |
LabelingJobLabelCategories
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelCategory | |
{customized property} | LabelCategory |
LabelCategory
名称 | 说明 | 值 |
---|---|---|
类 | 此类别中的标签类字典。 | LabelCategoryClasses |
displayName | 标签类别的显示名称。 | string |
multiSelectEnabled | 指示是否允许在此类别中选择多个类。 | bool |
LabelCategoryClasses
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelClass |
LabelClass
名称 | 说明 | 值 |
---|---|---|
displayName | 标签类的显示名称。 | 字符串 |
子 | 标签类的子类字典。 | LabelClassSubclasses |
LabelClassSubclasses
名称 | 说明 | 值 |
---|---|---|
{customized property} | LabelClass |
LabelingJobMediaProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | 设置对象类型 | 图像 需要文本 () |
LabelingJobImageProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | [必需]作业的媒体类型。 | “Image” (必需) |
annotationType | 图像标记作业的注释类型。 | “BoundingBox” “分类” “InstanceSegmentation” |
LabelingJobTextProperties
名称 | 说明 | 值 |
---|---|---|
mediaType | [必需]作业的媒体类型。 | “Text” (必需) |
annotationType | 文本标记作业的注释类型。 | “分类” “NamedEntityRecognition” |
MLAssistConfiguration
名称 | 说明 | 值 |
---|---|---|
mlAssist | 设置对象类型 | 已禁用 已启用 (必需) |
MLAssistConfigurationDisabled
名称 | 说明 | 值 |
---|---|---|
mlAssist | [必需]指示是否启用 MLAssist 功能。 | “Disabled” (必需) |
MLAssistConfigurationEnabled
名称 | 说明 | 值 |
---|---|---|
mlAssist | [必需]指示是否启用 MLAssist 功能。 | “已启用” (必需) |
inferencingComputeBinding | [必需]用于推理的 AML 计算绑定。 | 字符串 (必需) 约束: Pattern = [a-zA-Z0-9_] |
trainingComputeBinding | [必需]训练中使用的 AML 计算绑定。 | 字符串 (必需) 约束: Pattern = [a-zA-Z0-9_] |
ResourceBaseProperties
名称 | 说明 | 值 |
---|---|---|
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string | |
{customized property} | 字符串 | |
{customized property} | string | |
{customized property} | string | |
{customized property} | string |
JobBaseServices
名称 | 说明 | 值 |
---|---|---|
{customized property} | JobService | |
{customized property} | JobService |
JobService
名称 | 说明 | 值 |
---|---|---|
endpoint | 终结点的 URL。 | string |
jobServiceType | 终结点类型。 | 字符串 |
nodes | 用户想要启动服务的节点。 如果未将 Nodes 设置为 null,则仅在领导节点上启动该服务。 |
Nodes |
port | 用户设置的终结点的端口。 | int |
properties | 要对终结点设置的其他属性。 | JobServiceProperties |
Nodes
名称 | 说明 | 值 |
---|---|---|
nodesValueType | 设置对象类型 | 所有 (必需) |
AllNodes
名称 | 说明 | 值 |
---|---|---|
nodesValueType | [必需]Nodes 值的类型 | “全部” (必需) |
JobServiceProperties
名称 | 说明 | 值 |
---|---|---|
{customized property} | 字符串 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈