共用方式為


Microsoft.MachineLearningServices 工作區/卷標Jobs 2023-04-01-preview

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/labelingJobs@2023-04-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    componentId: 'string'
    computeId: 'string'
    dataConfiguration: {
      dataId: 'string'
      incrementalDataRefresh: 'string'
    }
    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'
        multiSelect: 'string'
      }
      {customized property}: {
        classes: {
          {customized property}: {
            displayName: 'string'
            subclasses: {
              {customized property}: {}
          }
        }
        displayName: 'string'
        multiSelect: 'string'
      }
    }
    labelingJobMediaProperties: {
      mediaType: 'string'
      // For remaining properties, see LabelingJobMediaProperties objects
    }
    mlAssistConfiguration: {
      mlAssist: 'string'
      // For remaining properties, see MLAssistConfiguration objects
    }
    notificationSetting: {
      emailOn: [
        'string'
      ]
      emails: [
        'string'
      ]
      webhooks: {
        {customized property}: {
          eventType: 'string'
          webhookType: 'string'
          // For remaining properties, see Webhook 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'
      {customized property}: 'string'
      {customized property}: 'string'
      {customized property}: 'string'
      {customized property}: 'string'
      {customized property}: 'string'
    }
    secretsConfiguration: {
      {customized property}: {
        uri: 'string'
        workspaceSecretName: 'string'
      }
      {customized property}: {
        uri: 'string'
        workspaceSecretName: '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'
      {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 屬性以指定物件的類型。

針對 [已停用],請使用:

  mlAssist: 'Disabled'

針對 [已啟用],請使用:

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

Webhook 物件

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

針對 AzureDevOps,請使用:

  webhookType: 'AzureDevOps'

Nodes 物件

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

針對 [全部],請使用:

  nodesValueType: 'All'

屬性值

workspaces/labelingJobs

名稱 描述
NAME 資源名稱

瞭解如何在 Bicep 中設定子資源的名稱和類型。
需要字串 ()
父系 (parent) 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增此屬性。

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

LabelingJobProperties

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

LabelingDataConfiguration

名稱 描述
dataId 要執行標籤之數據資產的資源標識碼。 字串
incrementalDataRefresh 指出是否要啟用累加式數據重新整理。 'Disabled'
'Enabled'

IdentityConfiguration

名稱 描述
identityType 設定物件類型 AMLToken
受控
需要 UserIdentity ()

AmlToken

名稱 描述
identityType [必要]指定身分識別架構的類型。 需要 『AMLToken』 ()

ManagedIdentity

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

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

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

UserIdentity

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

TagJobInstructions

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

LabelJobLabelCategories

名稱 描述
{自定義屬性} LabelCategory
{自定義屬性} LabelCategory

LabelCategory

名稱 描述
類別 此類別中標籤類別的字典。 LabelCategoryClasses
displayName 標籤類別的顯示名稱。 字串
multiSelect 指出是否允許選取此類別中的多個類別。 'Disabled'
'Enabled'

LabelCategoryClasses

名稱 描述
{自定義屬性} LabelClass

LabelClass

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

LabelClassSubclasses

名稱 描述
{自定義屬性} LabelClass

LabelingJobMediaProperties

名稱 描述
mediaType 設定物件類型 映像
需要文字 ()

LabelingJobImageProperties

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

LabelingJobTextProperties

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

MLAssistConfiguration

名稱 描述
mlAssist 設定物件類型 Disabled
啟用 必要 ()

MLAssistConfigurationDisabled

名稱 描述
mlAssist [必要]指出是否啟用 MLAssist 功能。 必要 ('Disabled')

MLAssistConfigurationEnabled

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

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]
trainingComputeBinding [必要]用於定型的 AML 計算系結。 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]

NotificationSetting

名稱 描述
emailOn 在指定的通知類型上將電子郵件通知傳送給使用者 包含任何項目的字串數組:
'JobCancelled'
'JobCompleted'
'JobFailed'
電子郵件 這是電子郵件收件者清單,在總 concat 中具有逗號分隔符的限製為 499 個字元 string[]
Webhook 將 Webhook 回呼傳送至服務。 金鑰是 Webhook 的使用者提供名稱。 NotificationSettingWebhooks

NotificationSettingWebhooks

名稱 描述
{自定義屬性} Webhook

Webhook

名稱 描述
eventType 在指定的通知事件上傳送回呼 字串
webhookType 設定物件類型 需要 AzureDevOps ()

AzureDevOpsWebhook

名稱 描述
webhookType [必要]指定要傳送回呼的服務類型 'AzureDevOps' (必要)

ResourceBaseProperties

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

JobBaseSecretsConfiguration

名稱 描述
{自定義屬性} SecretConfiguration
{自定義屬性} SecretConfiguration

SecretConfiguration

名稱 描述
uri 秘密 URI。
範例 URI: https://myvault.vault.azure.net/secrets/mysecretname/secretversion
字串
workspaceSecretName 工作區金鑰保存庫中的秘密名稱。 字串

JobBaseServices

名稱 描述
{自定義屬性} JobService
{自定義屬性} JobService

JobService

名稱 描述
端點 端點的 URL。 字串
jobServiceType 端點類型。 字串
nodes 使用者想要啟動服務的節點。
如果未將 Nodes 設定或設定為 null,則服務只會在領導者節點上啟動。
節點
連接埠 用戶所設定端點的埠。 int
properties 在端點上設定的其他屬性。 JobServiceProperties

節點

名稱 描述
nodesValueType 設定物件類型 所有 必要 ()

AllNodes

名稱 描述
nodesValueType [必要]Nodes 值的型別 必要 『All』 ()

JobServiceProperties

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

ARM 範本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs",
  "apiVersion": "2023-04-01-preview",
  "name": "string",
  "properties": {
    "componentId": "string",
    "computeId": "string",
    "dataConfiguration": {
      "dataId": "string",
      "incrementalDataRefresh": "string"
    },
    "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",
        "multiSelect": "string"
      },
      "{customized property}": {
        "classes": {
          "{customized property}": {
            "displayName": "string",
            "subclasses": {
              "{customized property}": {}
          }
        },
        "displayName": "string",
        "multiSelect": "string"
      }
    },
    "labelingJobMediaProperties": {
      "mediaType": "string"
      // For remaining properties, see LabelingJobMediaProperties objects
    },
    "mlAssistConfiguration": {
      "mlAssist": "string"
      // For remaining properties, see MLAssistConfiguration objects
    },
    "notificationSetting": {
      "emailOn": [ "string" ],
      "emails": [ "string" ],
      "webhooks": {
        "{customized property}": {
          "eventType": "string",
          "webhookType": "string"
          // For remaining properties, see Webhook 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",
      "{customized property}": "string",
      "{customized property}": "string",
      "{customized property}": "string",
      "{customized property}": "string",
      "{customized property}": "string"
    },
    "secretsConfiguration": {
      "{customized property}": {
        "uri": "string",
        "workspaceSecretName": "string"
      },
      "{customized property}": {
        "uri": "string",
        "workspaceSecretName": "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",
      "{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 屬性以指定物件的類型。

針對 [已停用],請使用:

  "mlAssist": "Disabled"

針對 [已啟用],請使用:

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

Webhook 物件

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

針對 AzureDevOps,請使用:

  "webhookType": "AzureDevOps"

Nodes 物件

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

針對 [全部],請使用:

  "nodesValueType": "All"

屬性值

workspaces/labelingJobs

名稱 描述
類型 資源類型 'Microsoft.MachineLearningServices/workspaces/labelingJobs'
apiVersion 資源 API 版本 '2023-04-01-preview'
NAME 資源名稱

瞭解如何在 JSON ARM 範本中設定子資源的名稱和類型。
需要字串 ()
properties [必要]實體的其他屬性。 卷標JobProperties (必要)

LabelingJobProperties

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

LabelingDataConfiguration

名稱 描述
dataId 要執行標籤的數據資產資源標識碼。 字串
incrementalDataRefresh 指出是否要啟用累加式數據重新整理。 'Disabled'
'Enabled'

IdentityConfiguration

名稱 描述
identityType 設定物件類型 AMLToken
受控
必要) 的 UserIdentity (

AmlToken

名稱 描述
identityType [必要]指定身分識別架構的類型。 必要的 『AMLToken』 ()

ManagedIdentity

名稱 描述
identityType [必要]指定身分識別架構的類型。 「受控」 (必要)
clientId 依用戶端識別元指定使用者指派的身分識別。 針對系統指派,請勿設定此欄位。 字串

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

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

UserIdentity

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

TagJobInstructions

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

LabelJobLabelCategories

名稱 描述
{自定義屬性} LabelCategory
{自定義屬性} LabelCategory

LabelCategory

名稱 描述
類別 此類別中標籤類別的字典。 LabelCategoryClasses
displayName 標籤類別的顯示名稱。 字串
multiSelect 指出是否允許在此類別中選取多個類別。 'Disabled'
'Enabled'

LabelCategoryClasses

名稱 描述
{自定義屬性} LabelClass

LabelClass

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

LabelClassSubclasses

名稱 描述
{自定義屬性} LabelClass

LabelingJobMediaProperties

名稱 描述
mediaType 設定物件類型 映像
需要文字 ()

LabelingJobImageProperties

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

LabelingJobTextProperties

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

MLAssistConfiguration

名稱 描述
mlAssist 設定物件類型 Disabled
啟用 必要 ()

MLAssistConfigurationDisabled

名稱 描述
mlAssist [必要]指出是否啟用 MLAssist 功能。 必要 ('Disabled')

MLAssistConfigurationEnabled

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

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]
trainingComputeBinding [必要]用於定型的 AML 計算系結。 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]

NotificationSetting

名稱 描述
emailOn 在指定的通知類型上將電子郵件通知傳送給使用者 包含任何項目的字串數組:
'JobCancelled'
'JobCompleted'
'JobFailed'
電子郵件 這是電子郵件收件者清單,其總 concat 限制為 499 個字元,且具有逗號分隔符 string[]
Webhook 將 Webhook 回呼傳送至服務。 金鑰是 Webhook 的使用者提供名稱。 NotificationSettingWebhooks

NotificationSettingWebhooks

名稱 描述
{自定義屬性} Webhook

Webhook

名稱 描述
eventType 在指定的通知事件上傳送回呼 字串
webhookType 設定物件類型 AzureDevOps (必要)

AzureDevOpsWebhook

名稱 描述
webhookType [必要]指定要傳送回呼的服務類型 必要) 'AzureDevOps' (

ResourceBaseProperties

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

JobBaseSecretsConfiguration

名稱 描述
{自定義屬性} SecretConfiguration
{自定義屬性} SecretConfiguration

SecretConfiguration

名稱 描述
uri 秘密 URI。
範例 Uri: https://myvault.vault.azure.net/secrets/mysecretname/secretversion
字串
workspaceSecretName 工作區金鑰保存庫中的秘密名稱。 字串

JobBaseServices

名稱 描述
{自定義屬性} JobService
{自定義屬性} JobService

JobService

名稱 描述
端點 端點的 URL。 字串
jobServiceType 端點類型。 字串
nodes 使用者想要啟動服務的節點。
如果未將節點設定或設定為 Null,服務只會在領導者節點上啟動。
節點
連接埠 用戶所設定端點的埠。 int
properties 在端點上設定的其他屬性。 JobServiceProperties

節點

名稱 描述
nodesValueType 設定物件類型 所有 必要 ()

AllNodes

名稱 描述
nodesValueType [必要]Nodes 值的型別 必要) 『All』 (

JobServiceProperties

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

Terraform (AzAPI 提供者) 資源定義

工作區/標籤作業可以使用目標作業來部署:

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/labelingJobs@2023-04-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      componentId = "string"
      computeId = "string"
      dataConfiguration = {
        dataId = "string"
        incrementalDataRefresh = "string"
      }
      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"
          multiSelect = "string"
        }
        {customized property} = {
          classes = {
            {customized property} = {
              displayName = "string"
              subclasses = {
                {customized property} = {}
            }
          }
          displayName = "string"
          multiSelect = "string"
        }
      }
      labelingJobMediaProperties = {
        mediaType = "string"
        // For remaining properties, see LabelingJobMediaProperties objects
      }
      mlAssistConfiguration = {
        mlAssist = "string"
        // For remaining properties, see MLAssistConfiguration objects
      }
      notificationSetting = {
        emailOn = [
          "string"
        ]
        emails = [
          "string"
        ]
        webhooks = {
          {customized property} = {
            eventType = "string"
            webhookType = "string"
            // For remaining properties, see Webhook 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"
        {customized property} = "string"
        {customized property} = "string"
        {customized property} = "string"
        {customized property} = "string"
        {customized property} = "string"
      }
      secretsConfiguration = {
        {customized property} = {
          uri = "string"
          workspaceSecretName = "string"
        }
        {customized property} = {
          uri = "string"
          workspaceSecretName = "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"
        {customized property} = "string"
        {customized property} = "string"
        {customized property} = "string"
        {customized property} = "string"
        {customized property} = "string"
      }
    }
  })
}

IdentityConfiguration 物件

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

針對 AMLToken,請使用:

  identityType = "AMLToken"

針對 Managed,請使用:

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

針對 UserIdentity,請使用:

  identityType = "UserIdentity"

LabelingJobMediaProperties 物件

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

針對 Image,請使用:

  mediaType = "Image"
  annotationType = "string"

針對 [文字],請使用:

  mediaType = "Text"
  annotationType = "string"

MLAssistConfiguration 物件

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

針對 [停用],請使用:

  mlAssist = "Disabled"

針對 [已啟用],請使用:

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

Webhook 物件

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

針對 AzureDevOps,請使用:

  webhookType = "AzureDevOps"

Nodes 物件

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

針對 [全部],請使用:

  nodesValueType = "All"

屬性值

workspaces/labelingJobs

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

LabelingJobProperties

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

LabelingDataConfiguration

名稱 描述
dataId 要執行標籤之數據資產的資源標識碼。 字串
incrementalDataRefresh 指出是否要啟用累加式數據重新整理。 “Disabled”
“Enabled”

IdentityConfiguration

名稱 描述
identityType 設定物件類型 AMLToken
受控
需要 UserIdentity ()

AmlToken

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

ManagedIdentity

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

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

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

UserIdentity

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

TagJobInstructions

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

LabelJobLabelCategories

名稱 描述
{自定義屬性} LabelCategory
{自定義屬性} LabelCategory

LabelCategory

名稱 描述
類別 此類別中標籤類別的字典。 LabelCategoryClasses
displayName 標籤類別的顯示名稱。 字串
multiSelect 指出是否允許在此類別中選取多個類別。 “Disabled”
“Enabled”

LabelCategoryClasses

名稱 描述
{自定義屬性} LabelClass

LabelClass

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

LabelClassSubclasses

名稱 描述
{自定義屬性} LabelClass

LabelingJobMediaProperties

名稱 描述
mediaType 設定物件類型 映像
需要文字 ()

LabelingJobImageProperties

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

LabelingJobTextProperties

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

MLAssistConfiguration

名稱 描述
mlAssist 設定物件類型 Disabled
已啟用 必要 ()

MLAssistConfigurationDisabled

名稱 描述
mlAssist [必要]指出是否啟用 MLAssist 功能。 「已停用」 (必要)

MLAssistConfigurationEnabled

名稱 描述
mlAssist [必要]指出是否啟用 MLAssist 功能。 「已啟用」 (必要)
inferencingComputeBinding [必要]用於推斷的 AML 計算系結。 需要字串 ()

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]
trainingComputeBinding [必要]用於定型的 AML 計算系結。 需要字串 ()

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]

NotificationSetting

名稱 描述
emailOn 在指定的通知類型上將電子郵件通知傳送給使用者 包含任何項目的字串數組:
“JobCancelled”
“JobCompleted”
“JobFailed”
電子郵件 這是電子郵件收件者清單,在總 concat 中具有逗號分隔符的限製為 499 個字元 string[]
Webhook 將 Webhook 回呼傳送至服務。 金鑰是 Webhook 的使用者提供名稱。 NotificationSettingWebhooks

NotificationSettingWebhooks

名稱 描述
{自定義屬性} Webhook

Webhook

名稱 描述
eventType 在指定的通知事件上傳送回呼 字串
webhookType 設定物件類型 AzureDevOps (必要)

AzureDevOpsWebhook

名稱 描述
webhookType [必要]指定要傳送回呼的服務類型 “AzureDevOps” (必要)

ResourceBaseProperties

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

JobBaseSecretsConfiguration

名稱 描述
{自定義屬性} SecretConfiguration
{自定義屬性} SecretConfiguration

SecretConfiguration

名稱 描述
uri 秘密 URI。
範例 Uri: https://myvault.vault.azure.net/secrets/mysecretname/secretversion
字串
workspaceSecretName 工作區金鑰保存庫中的秘密名稱。 字串

JobBaseServices

名稱 描述
{自定義屬性} JobService
{自定義屬性} JobService

JobService

名稱 描述
端點 端點的 URL。 字串
jobServiceType 端點類型。 字串
nodes 使用者想要啟動服務的節點。
如果未將 Nodes 設定或設定為 null,則服務只會在領導者節點上啟動。
節點
連接埠 用戶所設定端點的埠。 int
properties 在端點上設定的其他屬性。 JobServiceProperties

節點

名稱 描述
nodesValueType 設定物件類型 所有 必要 ()

AllNodes

名稱 描述
nodesValueType [必要]Nodes 值的型別 “All” (必要)

JobServiceProperties

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