Microsoft.MachineLearningServices 工作區/labelingJobs 2022-06-01-preview

Bicep 資源定義

工作區/標籤Jobs 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.MachineLearningServices/workspaces/labelingJobs 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/labelingJobs@2022-06-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
      }
    }
    labelingJobMediaProperties: {
      mediaType: 'string'
      // For remaining properties, see LabelingJobMediaProperties objects
    }
    mlAssistConfiguration: {
      mlAssist: 'string'
      // For remaining properties, see MLAssistConfiguration objects
    }
    properties: {
      {customized property}: 'string'
    }
    services: {
      {customized property}: {
        endpoint: 'string'
        jobServiceType: 'string'
        port: int
        properties: {
          {customized property}: 'string'
        }
      }
    }
    tags: {}
  }
}

IdentityConfiguration 物件

設定 identityType 屬性 ,以指定對象的類型。

針對 AMLToken,請使用:

  identityType: 'AMLToken'

針對 Managed,請使用:

  identityType: 'Managed'
  clientId: 'string'
  objectId: 'string'
  resourceId: 'string'

針對 UserIdentity,請使用:

  identityType: 'UserIdentity'

LabelingJobMediaProperties 物件

設定 mediaType 屬性,以指定物件的類型。

針對 Image,請使用:

  mediaType: 'Image'
  annotationType: 'string'

針對 Text,請使用:

  mediaType: 'Text'
  annotationType: 'string'

MLAssistConfiguration 物件

設定 mlAssist 屬性,以指定對象的類型。

針對 Disabled,請使用:

  mlAssist: 'Disabled'

針對啟用 ,請使用:

  mlAssist: 'Enabled'
  inferencingComputeBinding: 'string'
  trainingComputeBinding: 'string'

屬性值

workspaces/labelingJobs

名字 描述 價值
名字 資源名稱

請參閱如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型的資源符號名稱:工作區
性能 [必要]實體的其他屬性。 LabelingJobProperties (必要)

LabelingJobProperties

名字 描述 價值
componentId 元件資源的 ARM 資源識別碼。 字串
computeId 計算資源的 ARM 資源識別碼。 字串
dataConfiguration 設定作業中使用的數據。 LabelingDataConfiguration
描述 資產描述文字。 字串
displayName 工作的顯示名稱。 字串
experimentName 作業所屬的實驗名稱。 如果未設定,作業會放在 「默認」實驗中。 字串
身份 身分識別設定。 如果設定,這應該是其中一個 AmlToken、ManagedIdentity、UserIdentity 或 null。
如果為 null,則預設為 AmlToken。
IdentityConfiguration
isArchived 資產是否已封存? bool
jobInstructions 標記作業的指示。 LabelingJobInstructions
jobType [必要]指定作業的類型。 'AutoML'
'Command'
'標記'
'Pipeline'
'Spark'
'掃掠' (必要)
labelCategories 作業的標籤類別。 LabelJobLabelCategories
labelingJobMediaProperties 作業中的媒體類型特定屬性。 LabelingJobMediaProperties
mlAssistConfiguration 在作業中設定 MLAssist 功能。 MLAssistConfiguration
性能 資產屬性字典。 ResourceBaseProperties
服務業 JobEndpoints 的清單。
針對本機作業,作業端點會有 FileStreamObject 的端點值。
JobBaseServices
標籤 標記字典。 標記可以新增、移除和更新。 物件

LabelingDataConfiguration

名字 描述 價值
dataId 要執行標籤之數據資產的資源標識碼。 字串
incrementalDataRefreshEnabled 指出是否要啟用累加式數據重新整理。 bool

IdentityConfiguration

名字 描述 價值
identityType 設定物件類型 AMLToken
受控
UserIdentity (必要)

AmlToken

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 'AMLToken' (必要)

ManagedIdentity

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 'Managed' (必要)
clientId 依用戶端識別元指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
objectId 依物件識別元指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
resourceId 依 ARM 資源識別碼指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

UserIdentity

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 'UserIdentity' (必要)

LabelingJobInstructions

名字 描述 價值
uri 具有標籤者詳細標籤指示的頁面連結。 字串

LabelJobLabelCategories

名字 描述 價值
{自定義屬性} LabelCategory

LabelCategory

名字 描述 價值
此類別中標籤類別的字典。 LabelCategoryClasses
displayName 標籤類別的顯示名稱。 字串
multiSelectEnabled 指出是否允許在此類別中選取多個類別。 bool

LabelCategoryClasses

名字 描述 價值
{自定義屬性} LabelClass

LabelClass

名字 描述 價值
displayName 標籤類別的顯示名稱。 字串
卷標類別子類別的字典。 LabelClassSubclasses

LabelClassSubclasses

名字 描述 價值
{自定義屬性} 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 計算系結。 字串 (必要)

約束:
Pattern = [a-zA-Z0-9_]
trainingComputeBinding [必要]定型中使用的 AML 計算系結。 字串 (必要)

約束:
Pattern = [a-zA-Z0-9_]

ResourceBaseProperties

名字 描述 價值
{自定義屬性} 字串

JobBaseServices

名字 描述 價值
{自定義屬性} JobService

JobService

名字 描述 價值
端點 端點的 URL。 字串
jobServiceType 端點類型。 字串
港口 端點的埠。 int
性能 在端點上設定的其他屬性。 JobServiceProperties

JobServiceProperties

名字 描述 價值
{自定義屬性} 字串

ARM 樣本資源定義

工作區/標籤Jobs 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.MachineLearningServices/workspaces/labelingJobs 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs",
  "apiVersion": "2022-06-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"
      }
    },
    "labelingJobMediaProperties": {
      "mediaType": "string"
      // For remaining properties, see LabelingJobMediaProperties objects
    },
    "mlAssistConfiguration": {
      "mlAssist": "string"
      // For remaining properties, see MLAssistConfiguration objects
    },
    "properties": {
      "{customized property}": "string"
    },
    "services": {
      "{customized property}": {
        "endpoint": "string",
        "jobServiceType": "string",
        "port": "int",
        "properties": {
          "{customized property}": "string"
        }
      }
    },
    "tags": {}
  }
}

IdentityConfiguration 物件

設定 identityType 屬性 ,以指定對象的類型。

針對 AMLToken,請使用:

  "identityType": "AMLToken"

針對 Managed,請使用:

  "identityType": "Managed",
  "clientId": "string",
  "objectId": "string",
  "resourceId": "string"

針對 UserIdentity,請使用:

  "identityType": "UserIdentity"

LabelingJobMediaProperties 物件

設定 mediaType 屬性,以指定物件的類型。

針對 Image,請使用:

  "mediaType": "Image",
  "annotationType": "string"

針對 Text,請使用:

  "mediaType": "Text",
  "annotationType": "string"

MLAssistConfiguration 物件

設定 mlAssist 屬性,以指定對象的類型。

針對 Disabled,請使用:

  "mlAssist": "Disabled"

針對啟用 ,請使用:

  "mlAssist": "Enabled",
  "inferencingComputeBinding": "string",
  "trainingComputeBinding": "string"

屬性值

workspaces/labelingJobs

名字 描述 價值
類型 資源類型 'Microsoft.MachineLearningServices/workspaces/labelingJobs'
apiVersion 資源 API 版本 '2022-06-01-preview'
名字 資源名稱

請參閱如何在JSON ARM 範本中設定子資源的名稱和類型。
字串 (必要)
性能 [必要]實體的其他屬性。 LabelingJobProperties (必要)

LabelingJobProperties

名字 描述 價值
componentId 元件資源的 ARM 資源識別碼。 字串
computeId 計算資源的 ARM 資源識別碼。 字串
dataConfiguration 設定作業中使用的數據。 LabelingDataConfiguration
描述 資產描述文字。 字串
displayName 工作的顯示名稱。 字串
experimentName 作業所屬的實驗名稱。 如果未設定,作業會放在 「默認」實驗中。 字串
身份 身分識別設定。 如果設定,這應該是其中一個 AmlToken、ManagedIdentity、UserIdentity 或 null。
如果為 null,則預設為 AmlToken。
IdentityConfiguration
isArchived 資產是否已封存? bool
jobInstructions 標記作業的指示。 LabelingJobInstructions
jobType [必要]指定作業的類型。 'AutoML'
'Command'
'標記'
'Pipeline'
'Spark'
'掃掠' (必要)
labelCategories 作業的標籤類別。 LabelJobLabelCategories
labelingJobMediaProperties 作業中的媒體類型特定屬性。 LabelingJobMediaProperties
mlAssistConfiguration 在作業中設定 MLAssist 功能。 MLAssistConfiguration
性能 資產屬性字典。 ResourceBaseProperties
服務業 JobEndpoints 的清單。
針對本機作業,作業端點會有 FileStreamObject 的端點值。
JobBaseServices
標籤 標記字典。 標記可以新增、移除和更新。 物件

LabelingDataConfiguration

名字 描述 價值
dataId 要執行標籤之數據資產的資源標識碼。 字串
incrementalDataRefreshEnabled 指出是否要啟用累加式數據重新整理。 bool

IdentityConfiguration

名字 描述 價值
identityType 設定物件類型 AMLToken
受控
UserIdentity (必要)

AmlToken

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 'AMLToken' (必要)

ManagedIdentity

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 'Managed' (必要)
clientId 依用戶端識別元指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
objectId 依物件識別元指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
resourceId 依 ARM 資源識別碼指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

UserIdentity

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 'UserIdentity' (必要)

LabelingJobInstructions

名字 描述 價值
uri 具有標籤者詳細標籤指示的頁面連結。 字串

LabelJobLabelCategories

名字 描述 價值
{自定義屬性} LabelCategory

LabelCategory

名字 描述 價值
此類別中標籤類別的字典。 LabelCategoryClasses
displayName 標籤類別的顯示名稱。 字串
multiSelectEnabled 指出是否允許在此類別中選取多個類別。 bool

LabelCategoryClasses

名字 描述 價值
{自定義屬性} LabelClass

LabelClass

名字 描述 價值
displayName 標籤類別的顯示名稱。 字串
卷標類別子類別的字典。 LabelClassSubclasses

LabelClassSubclasses

名字 描述 價值
{自定義屬性} 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 計算系結。 字串 (必要)

約束:
Pattern = [a-zA-Z0-9_]
trainingComputeBinding [必要]定型中使用的 AML 計算系結。 字串 (必要)

約束:
Pattern = [a-zA-Z0-9_]

ResourceBaseProperties

名字 描述 價值
{自定義屬性} 字串

JobBaseServices

名字 描述 價值
{自定義屬性} JobService

JobService

名字 描述 價值
端點 端點的 URL。 字串
jobServiceType 端點類型。 字串
港口 端點的埠。 int
性能 在端點上設定的其他屬性。 JobServiceProperties

JobServiceProperties

名字 描述 價值
{自定義屬性} 字串

Terraform (AzAPI 提供者) 資源定義

工作區/標籤Jobs 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.MachineLearningServices/workspaces/labelingJobs 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/labelingJobs@2022-06-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
        }
      }
      labelingJobMediaProperties = {
        mediaType = "string"
        // For remaining properties, see LabelingJobMediaProperties objects
      }
      mlAssistConfiguration = {
        mlAssist = "string"
        // For remaining properties, see MLAssistConfiguration objects
      }
      properties = {
        {customized property} = "string"
      }
      services = {
        {customized property} = {
          endpoint = "string"
          jobServiceType = "string"
          port = int
          properties = {
            {customized property} = "string"
          }
        }
      }
      tags = {}
    }
  })
}

IdentityConfiguration 物件

設定 identityType 屬性 ,以指定對象的類型。

針對 AMLToken,請使用:

  identityType = "AMLToken"

針對 Managed,請使用:

  identityType = "Managed"
  clientId = "string"
  objectId = "string"
  resourceId = "string"

針對 UserIdentity,請使用:

  identityType = "UserIdentity"

LabelingJobMediaProperties 物件

設定 mediaType 屬性,以指定物件的類型。

針對 Image,請使用:

  mediaType = "Image"
  annotationType = "string"

針對 Text,請使用:

  mediaType = "Text"
  annotationType = "string"

MLAssistConfiguration 物件

設定 mlAssist 屬性,以指定對象的類型。

針對 Disabled,請使用:

  mlAssist = "Disabled"

針對啟用 ,請使用:

  mlAssist = "Enabled"
  inferencingComputeBinding = "string"
  trainingComputeBinding = "string"

屬性值

workspaces/labelingJobs

名字 描述 價值
類型 資源類型 “Microsoft.MachineLearningServices/workspaces/labelingJobs@2022-06-01-preview”
名字 資源名稱 字串 (必要)
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:工作區
性能 [必要]實體的其他屬性。 LabelingJobProperties (必要)

LabelingJobProperties

名字 描述 價值
componentId 元件資源的 ARM 資源識別碼。 字串
computeId 計算資源的 ARM 資源識別碼。 字串
dataConfiguration 設定作業中使用的數據。 LabelingDataConfiguration
描述 資產描述文字。 字串
displayName 工作的顯示名稱。 字串
experimentName 作業所屬的實驗名稱。 如果未設定,作業會放在 「默認」實驗中。 字串
身份 身分識別設定。 如果設定,這應該是其中一個 AmlToken、ManagedIdentity、UserIdentity 或 null。
如果為 null,則預設為 AmlToken。
IdentityConfiguration
isArchived 資產是否已封存? bool
jobInstructions 標記作業的指示。 LabelingJobInstructions
jobType [必要]指定作業的類型。 “AutoML”
“Command”
“標記”
“Pipeline”
“Spark”
“掃掠” (必要)
labelCategories 作業的標籤類別。 LabelJobLabelCategories
labelingJobMediaProperties 作業中的媒體類型特定屬性。 LabelingJobMediaProperties
mlAssistConfiguration 在作業中設定 MLAssist 功能。 MLAssistConfiguration
性能 資產屬性字典。 ResourceBaseProperties
服務業 JobEndpoints 的清單。
針對本機作業,作業端點會有 FileStreamObject 的端點值。
JobBaseServices
標籤 標記字典。 標記可以新增、移除和更新。 物件

LabelingDataConfiguration

名字 描述 價值
dataId 要執行標籤之數據資產的資源標識碼。 字串
incrementalDataRefreshEnabled 指出是否要啟用累加式數據重新整理。 bool

IdentityConfiguration

名字 描述 價值
identityType 設定物件類型 AMLToken
受控
UserIdentity (必要)

AmlToken

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 “AMLToken” (必要)

ManagedIdentity

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 “Managed” (必要)
clientId 依用戶端識別元指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
objectId 依物件識別元指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

約束:
最小長度 = 36
最大長度 = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
resourceId 依 ARM 資源識別碼指定使用者指派的身分識別。 若為系統指派,請勿設定此欄位。 字串

UserIdentity

名字 描述 價值
identityType [必要]指定身分識別架構的類型。 “UserIdentity” (必要)

LabelingJobInstructions

名字 描述 價值
uri 具有標籤者詳細標籤指示的頁面連結。 字串

LabelJobLabelCategories

名字 描述 價值
{自定義屬性} LabelCategory

LabelCategory

名字 描述 價值
此類別中標籤類別的字典。 LabelCategoryClasses
displayName 標籤類別的顯示名稱。 字串
multiSelectEnabled 指出是否允許在此類別中選取多個類別。 bool

LabelCategoryClasses

名字 描述 價值
{自定義屬性} LabelClass

LabelClass

名字 描述 價值
displayName 標籤類別的顯示名稱。 字串
卷標類別子類別的字典。 LabelClassSubclasses

LabelClassSubclasses

名字 描述 價值
{自定義屬性} LabelClass

LabelingJobMediaProperties

名字 描述 價值
mediaType 設定物件類型 映像
文字(必要)

LabelingJobImageProperties

名字 描述 價值
mediaType [必要]作業的媒體類型。 “Image” (必要)
annotationType 影像標籤作業的註釋類型。 “BoundingBox”
“分類”
“InstanceSegmentation”

LabelingJobTextProperties

名字 描述 價值
mediaType [必要]作業的媒體類型。 “Text” (必要)
annotationType 文字標籤作業的註釋類型。 “分類”
“NamedEntityRecognition”

MLAssistConfiguration

名字 描述 價值
mlAssist 設定物件類型 停用
已啟用 (必要)

MLAssistConfigurationDisabled

名字 描述 價值
mlAssist [必要]指出是否啟用 MLAssist 功能。 “Disabled” (必要)

MLAssistConfigurationEnabled

名字 描述 價值
mlAssist [必要]指出是否啟用 MLAssist 功能。 “Enabled” (必要)
inferencingComputeBinding [必要]用於推斷的 AML 計算系結。 字串 (必要)

約束:
Pattern = [a-zA-Z0-9_]
trainingComputeBinding [必要]定型中使用的 AML 計算系結。 字串 (必要)

約束:
Pattern = [a-zA-Z0-9_]

ResourceBaseProperties

名字 描述 價值
{自定義屬性} 字串

JobBaseServices

名字 描述 價值
{自定義屬性} JobService

JobService

名字 描述 價值
端點 端點的 URL。 字串
jobServiceType 端點類型。 字串
港口 端點的埠。 int
性能 在端點上設定的其他屬性。 JobServiceProperties

JobServiceProperties

名字 描述 價值
{自定義屬性} 字串