Microsoft.MachineLearningServices 工作區/labelingJobs 2021-03-01-preview

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/labelingJobs@2021-03-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    datasetConfiguration: {
      assetName: 'string'
      datasetVersion: 'string'
      incrementalDatasetRefreshEnabled: bool
    }
    description: 'string'
    jobInstructions: {
      uri: 'string'
    }
    jobType: 'string'
    labelCategories: {
      {customized property}: {
        allowMultiSelect: bool
        classes: {
          {customized property}: {
            displayName: 'string'
            subclasses: {
              {customized property}: {}
          }
        }
        displayName: 'string'
      }
    }
    labelingJobMediaProperties: {
      mediaType: 'string'
      // For remaining properties, see LabelingJobMediaProperties objects
    }
    mlAssistConfiguration: {
      inferencingComputeBinding: {
        instanceCount: int
        instanceType: 'string'
        isLocal: bool
        location: 'string'
        properties: {
          {customized property}: 'string'
        }
        target: 'string'
      }
      mlAssistEnabled: bool
      trainingComputeBinding: {
        instanceCount: int
        instanceType: 'string'
        isLocal: bool
        location: 'string'
        properties: {
          {customized property}: 'string'
        }
        target: 'string'
      }
    }
    properties: {
      {customized property}: 'string'
    }
    tags: {}
  }
}

LabelingJobMediaProperties 物件

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

針對 Image,請使用:

  mediaType: 'Image'
  annotationType: 'string'

針對 Text,請使用:

  mediaType: 'Text'
  annotationType: 'Classification'

屬性值

workspaces/labelingJobs

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

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

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

LabelingJob

名字 描述 價值
datasetConfiguration 設定作業中使用的數據集。 LabelingDatasetConfiguration
描述 資產描述文字。 字串
jobInstructions 標記作業的指示。 LabelingJobInstructions
jobType [必要]指定作業的類型。 此欄位應一律設定為 「標籤」。 'Command'
'標記'
'掃掠' (必要)
labelCategories 作業的標籤類別。 LabelJobLabelCategories
labelingJobMediaProperties 作業中的媒體類型特定屬性。 LabelingJobMediaProperties
mlAssistConfiguration 在作業中設定 MLAssist 功能。 MLAssistConfiguration
性能 資產屬性字典。 LabelingJobProperties
標籤 標記字典。 標記可以新增、移除和更新。 物件

LabelingDatasetConfiguration

名字 描述 價值
assetName 要執行標籤的數據資產名稱。 字串
datasetVersion AML 數據集版本。 字串
incrementalDatasetRefreshEnabled 指出是否要啟用累加數據集重新整理。 bool

LabelingJobInstructions

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

LabelJobLabelCategories

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

LabelCategory

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

LabelCategoryClasses

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

LabelClass

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

LabelClassSubclasses

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

LabelingJobMediaProperties

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

LabelingJobImageProperties

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

LabelingJobTextProperties

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

MLAssistConfiguration

名字 描述 價值
inferencingComputeBinding 用於推斷的 AML 計算系結。 ComputeConfiguration
mlAssistEnabled 指出是否啟用 MLAssist 功能。 bool
trainingComputeBinding 定型中使用的 AML 計算系結。 ComputeConfiguration

ComputeConfiguration

名字 描述 價值
instanceCount 實例或節點的數目。 int
instanceType 要執行之 SKU 類型。 字串
isLocal 針對在本機計算上執行的作業,設定為 true。 bool
位置 虛擬叢集執行的位置。 字串
性能 其他屬性。 ComputeConfigurationProperties
目標 您設為目標的計算的 ARM 資源識別碼。 如果未提供資源,則會部署為受控資源。 字串

ComputeConfigurationProperties

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

LabelingJobProperties

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

ARM 樣本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs",
  "apiVersion": "2021-03-01-preview",
  "name": "string",
  "properties": {
    "datasetConfiguration": {
      "assetName": "string",
      "datasetVersion": "string",
      "incrementalDatasetRefreshEnabled": "bool"
    },
    "description": "string",
    "jobInstructions": {
      "uri": "string"
    },
    "jobType": "string",
    "labelCategories": {
      "{customized property}": {
        "allowMultiSelect": "bool",
        "classes": {
          "{customized property}": {
            "displayName": "string",
            "subclasses": {
              "{customized property}": {}
          }
        },
        "displayName": "string"
      }
    },
    "labelingJobMediaProperties": {
      "mediaType": "string"
      // For remaining properties, see LabelingJobMediaProperties objects
    },
    "mlAssistConfiguration": {
      "inferencingComputeBinding": {
        "instanceCount": "int",
        "instanceType": "string",
        "isLocal": "bool",
        "location": "string",
        "properties": {
          "{customized property}": "string"
        },
        "target": "string"
      },
      "mlAssistEnabled": "bool",
      "trainingComputeBinding": {
        "instanceCount": "int",
        "instanceType": "string",
        "isLocal": "bool",
        "location": "string",
        "properties": {
          "{customized property}": "string"
        },
        "target": "string"
      }
    },
    "properties": {
      "{customized property}": "string"
    },
    "tags": {}
  }
}

LabelingJobMediaProperties 物件

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

針對 Image,請使用:

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

針對 Text,請使用:

  "mediaType": "Text",
  "annotationType": "Classification"

屬性值

workspaces/labelingJobs

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

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

LabelingJob

名字 描述 價值
datasetConfiguration 設定作業中使用的數據集。 LabelingDatasetConfiguration
描述 資產描述文字。 字串
jobInstructions 標記作業的指示。 LabelingJobInstructions
jobType [必要]指定作業的類型。 此欄位應一律設定為 「標籤」。 'Command'
'標記'
'掃掠' (必要)
labelCategories 作業的標籤類別。 LabelJobLabelCategories
labelingJobMediaProperties 作業中的媒體類型特定屬性。 LabelingJobMediaProperties
mlAssistConfiguration 在作業中設定 MLAssist 功能。 MLAssistConfiguration
性能 資產屬性字典。 LabelingJobProperties
標籤 標記字典。 標記可以新增、移除和更新。 物件

LabelingDatasetConfiguration

名字 描述 價值
assetName 要執行標籤的數據資產名稱。 字串
datasetVersion AML 數據集版本。 字串
incrementalDatasetRefreshEnabled 指出是否要啟用累加數據集重新整理。 bool

LabelingJobInstructions

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

LabelJobLabelCategories

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

LabelCategory

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

LabelCategoryClasses

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

LabelClass

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

LabelClassSubclasses

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

LabelingJobMediaProperties

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

LabelingJobImageProperties

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

LabelingJobTextProperties

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

MLAssistConfiguration

名字 描述 價值
inferencingComputeBinding 用於推斷的 AML 計算系結。 ComputeConfiguration
mlAssistEnabled 指出是否啟用 MLAssist 功能。 bool
trainingComputeBinding 定型中使用的 AML 計算系結。 ComputeConfiguration

ComputeConfiguration

名字 描述 價值
instanceCount 實例或節點的數目。 int
instanceType 要執行之 SKU 類型。 字串
isLocal 針對在本機計算上執行的作業,設定為 true。 bool
位置 虛擬叢集執行的位置。 字串
性能 其他屬性。 ComputeConfigurationProperties
目標 您設為目標的計算的 ARM 資源識別碼。 如果未提供資源,則會部署為受控資源。 字串

ComputeConfigurationProperties

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

LabelingJobProperties

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

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/labelingJobs@2021-03-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      datasetConfiguration = {
        assetName = "string"
        datasetVersion = "string"
        incrementalDatasetRefreshEnabled = bool
      }
      description = "string"
      jobInstructions = {
        uri = "string"
      }
      jobType = "string"
      labelCategories = {
        {customized property} = {
          allowMultiSelect = bool
          classes = {
            {customized property} = {
              displayName = "string"
              subclasses = {
                {customized property} = {}
            }
          }
          displayName = "string"
        }
      }
      labelingJobMediaProperties = {
        mediaType = "string"
        // For remaining properties, see LabelingJobMediaProperties objects
      }
      mlAssistConfiguration = {
        inferencingComputeBinding = {
          instanceCount = int
          instanceType = "string"
          isLocal = bool
          location = "string"
          properties = {
            {customized property} = "string"
          }
          target = "string"
        }
        mlAssistEnabled = bool
        trainingComputeBinding = {
          instanceCount = int
          instanceType = "string"
          isLocal = bool
          location = "string"
          properties = {
            {customized property} = "string"
          }
          target = "string"
        }
      }
      properties = {
        {customized property} = "string"
      }
      tags = {}
    }
  })
}

LabelingJobMediaProperties 物件

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

針對 Image,請使用:

  mediaType = "Image"
  annotationType = "string"

針對 Text,請使用:

  mediaType = "Text"
  annotationType = "Classification"

屬性值

workspaces/labelingJobs

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

LabelingJob

名字 描述 價值
datasetConfiguration 設定作業中使用的數據集。 LabelingDatasetConfiguration
描述 資產描述文字。 字串
jobInstructions 標記作業的指示。 LabelingJobInstructions
jobType [必要]指定作業的類型。 此欄位應一律設定為 「標籤」。 “Command”
“標記”
“掃掠” (必要)
labelCategories 作業的標籤類別。 LabelJobLabelCategories
labelingJobMediaProperties 作業中的媒體類型特定屬性。 LabelingJobMediaProperties
mlAssistConfiguration 在作業中設定 MLAssist 功能。 MLAssistConfiguration
性能 資產屬性字典。 LabelingJobProperties
標籤 標記字典。 標記可以新增、移除和更新。 物件

LabelingDatasetConfiguration

名字 描述 價值
assetName 要執行標籤的數據資產名稱。 字串
datasetVersion AML 數據集版本。 字串
incrementalDatasetRefreshEnabled 指出是否要啟用累加數據集重新整理。 bool

LabelingJobInstructions

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

LabelJobLabelCategories

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

LabelCategory

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

LabelCategoryClasses

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

LabelClass

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

LabelClassSubclasses

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

LabelingJobMediaProperties

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

LabelingJobImageProperties

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

LabelingJobTextProperties

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

MLAssistConfiguration

名字 描述 價值
inferencingComputeBinding 用於推斷的 AML 計算系結。 ComputeConfiguration
mlAssistEnabled 指出是否啟用 MLAssist 功能。 bool
trainingComputeBinding 定型中使用的 AML 計算系結。 ComputeConfiguration

ComputeConfiguration

名字 描述 價值
instanceCount 實例或節點的數目。 int
instanceType 要執行之 SKU 類型。 字串
isLocal 針對在本機計算上執行的作業,設定為 true。 bool
位置 虛擬叢集執行的位置。 字串
性能 其他屬性。 ComputeConfigurationProperties
目標 您設為目標的計算的 ARM 資源識別碼。 如果未提供資源,則會部署為受控資源。 字串

ComputeConfigurationProperties

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

LabelingJobProperties

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