Microsoft.MachineLearningServices workspaces/labelingJobs 2024-01-01-preview

Bicep resource definition

The workspaces/labelingJobs resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.MachineLearningServices/workspaces/labelingJobs resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/labelingJobs@2024-01-01-preview' = {
  parent: resourceSymbolicName
  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'
      }
    }
    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'
    }
    secretsConfiguration: {
      {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'
        }
      }
    }
    tags: {
      {customized property}: 'string'
    }
  }
}

IdentityConfiguration objects

Set the identityType property to specify the type of object.

For AMLToken, use:

{
  identityType: 'AMLToken'
}

For Managed, use:

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

For UserIdentity, use:

{
  identityType: 'UserIdentity'
}

Nodes objects

Set the nodesValueType property to specify the type of object.

For All, use:

{
  nodesValueType: 'All'
}

MLAssistConfiguration objects

Set the mlAssist property to specify the type of object.

For Disabled, use:

{
  mlAssist: 'Disabled'
}

For Enabled, use:

{
  inferencingComputeBinding: 'string'
  mlAssist: 'Enabled'
  trainingComputeBinding: 'string'
}

Webhook objects

Set the webhookType property to specify the type of object.

For AzureDevOps, use:

{
  webhookType: 'AzureDevOps'
}

LabelingJobMediaProperties objects

Set the mediaType property to specify the type of object.

For Image, use:

{
  annotationType: 'string'
  mediaType: 'Image'
}

For Text, use:

{
  annotationType: 'string'
  mediaType: 'Text'
}

Property values

AllNodes

Name Description Value
nodesValueType [Required] Type of the Nodes value 'All' (required)

AmlToken

Name Description Value
identityType [Required] Specifies the type of identity framework. 'AMLToken' (required)

AzureDevOpsWebhook

Name Description Value
webhookType [Required] Specifies the type of service to send a callback 'AzureDevOps' (required)

IdentityConfiguration

Name Description Value
identityType Set to 'AMLToken' for type AmlToken. Set to 'Managed' for type ManagedIdentity. Set to 'UserIdentity' for type UserIdentity. 'AMLToken'
'Managed'
'UserIdentity' (required)

JobBaseSecretsConfiguration

Name Description Value

JobBaseServices

Name Description Value

JobService

Name Description Value
endpoint Url for endpoint. string
jobServiceType Endpoint type. string
nodes Nodes that user would like to start the service on.
If Nodes is not set or set to null, the service will only be started on leader node.
Nodes
port Port for endpoint set by user. int
properties Additional properties to set on the endpoint. JobServiceProperties

JobServiceProperties

Name Description Value

LabelCategory

Name Description Value
classes Dictionary of label classes in this category. LabelCategoryClasses
displayName Display name of the label category. string
multiSelect Indicates whether it is allowed to select multiple classes in this category. 'Disabled'
'Enabled'

LabelCategoryClasses

Name Description Value

LabelClass

Name Description Value
displayName Display name of the label class. string
subclasses Dictionary of subclasses of the label class. LabelClassSubclasses

LabelClassSubclasses

Name Description Value

LabelingDataConfiguration

Name Description Value
dataId Resource Id of the data asset to perform labeling. string
incrementalDataRefresh Indicates whether to enable incremental data refresh. 'Disabled'
'Enabled'

LabelingJobImageProperties

Name Description Value
annotationType Annotation type of image labeling job. 'BoundingBox'
'Classification'
'InstanceSegmentation'
mediaType [Required] Media type of the job. 'Image' (required)

LabelingJobInstructions

Name Description Value
uri The link to a page with detailed labeling instructions for labelers. string

LabelingJobLabelCategories

Name Description Value

LabelingJobMediaProperties

Name Description Value
mediaType Set to 'Image' for type LabelingJobImageProperties. Set to 'Text' for type LabelingJobTextProperties. 'Image'
'Text' (required)

LabelingJobProperties

Name Description Value
componentId ARM resource ID of the component resource. string
computeId ARM resource ID of the compute resource. string
dataConfiguration Configuration of data used in the job. LabelingDataConfiguration
description The asset description text. string
displayName Display name of job. string
experimentName The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. string
identity Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.
Defaults to AmlToken if null.
IdentityConfiguration
isArchived Is the asset archived? bool
jobInstructions Labeling instructions of the job. LabelingJobInstructions
jobType [Required] Specifies the type of job. 'AutoML'
'Command'
'FineTuning'
'Labeling'
'Pipeline'
'Spark'
'Sweep' (required)
labelCategories Label categories of the job. LabelingJobLabelCategories
labelingJobMediaProperties Media type specific properties in the job. LabelingJobMediaProperties
mlAssistConfiguration Configuration of MLAssist feature in the job. MLAssistConfiguration
notificationSetting Notification setting for the job NotificationSetting
properties The asset property dictionary. ResourceBaseProperties
secretsConfiguration Configuration for secrets to be made available during runtime. JobBaseSecretsConfiguration
services List of JobEndpoints.
For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
JobBaseServices
tags Tag dictionary. Tags can be added, removed, and updated. ResourceBaseTags

LabelingJobTextProperties

Name Description Value
annotationType Annotation type of text labeling job. 'Classification'
'NamedEntityRecognition'
mediaType [Required] Media type of the job. 'Text' (required)

ManagedIdentity

Name Description Value
clientId Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
identityType [Required] Specifies the type of identity framework. 'Managed' (required)
objectId Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
resourceId Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. string

Microsoft.MachineLearningServices/workspaces/labelingJobs

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: workspaces
properties [Required] Additional attributes of the entity. LabelingJobProperties (required)

MLAssistConfiguration

Name Description Value
mlAssist Set to 'Disabled' for type MLAssistConfigurationDisabled. Set to 'Enabled' for type MLAssistConfigurationEnabled. 'Disabled'
'Enabled' (required)

MLAssistConfigurationDisabled

Name Description Value
mlAssist [Required] Indicates whether MLAssist feature is enabled. 'Disabled' (required)

MLAssistConfigurationEnabled

Name Description Value
inferencingComputeBinding [Required] AML compute binding used in inferencing. string

Constraints:
Min length = 1
Pattern = [a-zA-Z0-9_] (required)
mlAssist [Required] Indicates whether MLAssist feature is enabled. 'Enabled' (required)
trainingComputeBinding [Required] AML compute binding used in training. string

Constraints:
Min length = 1
Pattern = [a-zA-Z0-9_] (required)

Nodes

Name Description Value
nodesValueType Set to 'All' for type AllNodes. 'All' (required)

NotificationSetting

Name Description Value
emailOn Send email notification to user on specified notification type String array containing any of:
'JobCancelled'
'JobCompleted'
'JobFailed'
emails This is the email recipient list which has a limitation of 499 characters in total concat with comma separator string[]
webhooks Send webhook callback to a service. Key is a user-provided name for the webhook. NotificationSettingWebhooks

NotificationSettingWebhooks

Name Description Value

ResourceBaseProperties

Name Description Value

ResourceBaseTags

Name Description Value

SecretConfiguration

Name Description Value
uri Secret Uri.
Sample Uri : https://myvault.vault.azure.net/secrets/mysecretname/secretversion
string
workspaceSecretName Name of secret in workspace key vault. string

UserIdentity

Name Description Value
identityType [Required] Specifies the type of identity framework. 'UserIdentity' (required)

Webhook

Name Description Value
eventType Send callback on a specified notification event string
webhookType Set to 'AzureDevOps' for type AzureDevOpsWebhook. 'AzureDevOps' (required)

ARM template resource definition

The workspaces/labelingJobs resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.MachineLearningServices/workspaces/labelingJobs resource, add the following JSON to your template.

{
  "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs",
  "apiVersion": "2024-01-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"
      }
    },
    "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"
    },
    "secretsConfiguration": {
      "{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"
        }
      }
    },
    "tags": {
      "{customized property}": "string"
    }
  }
}

IdentityConfiguration objects

Set the identityType property to specify the type of object.

For AMLToken, use:

{
  "identityType": "AMLToken"
}

For Managed, use:

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

For UserIdentity, use:

{
  "identityType": "UserIdentity"
}

Nodes objects

Set the nodesValueType property to specify the type of object.

For All, use:

{
  "nodesValueType": "All"
}

MLAssistConfiguration objects

Set the mlAssist property to specify the type of object.

For Disabled, use:

{
  "mlAssist": "Disabled"
}

For Enabled, use:

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

Webhook objects

Set the webhookType property to specify the type of object.

For AzureDevOps, use:

{
  "webhookType": "AzureDevOps"
}

LabelingJobMediaProperties objects

Set the mediaType property to specify the type of object.

For Image, use:

{
  "annotationType": "string",
  "mediaType": "Image"
}

For Text, use:

{
  "annotationType": "string",
  "mediaType": "Text"
}

Property values

AllNodes

Name Description Value
nodesValueType [Required] Type of the Nodes value 'All' (required)

AmlToken

Name Description Value
identityType [Required] Specifies the type of identity framework. 'AMLToken' (required)

AzureDevOpsWebhook

Name Description Value
webhookType [Required] Specifies the type of service to send a callback 'AzureDevOps' (required)

IdentityConfiguration

Name Description Value
identityType Set to 'AMLToken' for type AmlToken. Set to 'Managed' for type ManagedIdentity. Set to 'UserIdentity' for type UserIdentity. 'AMLToken'
'Managed'
'UserIdentity' (required)

JobBaseSecretsConfiguration

Name Description Value

JobBaseServices

Name Description Value

JobService

Name Description Value
endpoint Url for endpoint. string
jobServiceType Endpoint type. string
nodes Nodes that user would like to start the service on.
If Nodes is not set or set to null, the service will only be started on leader node.
Nodes
port Port for endpoint set by user. int
properties Additional properties to set on the endpoint. JobServiceProperties

JobServiceProperties

Name Description Value

LabelCategory

Name Description Value
classes Dictionary of label classes in this category. LabelCategoryClasses
displayName Display name of the label category. string
multiSelect Indicates whether it is allowed to select multiple classes in this category. 'Disabled'
'Enabled'

LabelCategoryClasses

Name Description Value

LabelClass

Name Description Value
displayName Display name of the label class. string
subclasses Dictionary of subclasses of the label class. LabelClassSubclasses

LabelClassSubclasses

Name Description Value

LabelingDataConfiguration

Name Description Value
dataId Resource Id of the data asset to perform labeling. string
incrementalDataRefresh Indicates whether to enable incremental data refresh. 'Disabled'
'Enabled'

LabelingJobImageProperties

Name Description Value
annotationType Annotation type of image labeling job. 'BoundingBox'
'Classification'
'InstanceSegmentation'
mediaType [Required] Media type of the job. 'Image' (required)

LabelingJobInstructions

Name Description Value
uri The link to a page with detailed labeling instructions for labelers. string

LabelingJobLabelCategories

Name Description Value

LabelingJobMediaProperties

Name Description Value
mediaType Set to 'Image' for type LabelingJobImageProperties. Set to 'Text' for type LabelingJobTextProperties. 'Image'
'Text' (required)

LabelingJobProperties

Name Description Value
componentId ARM resource ID of the component resource. string
computeId ARM resource ID of the compute resource. string
dataConfiguration Configuration of data used in the job. LabelingDataConfiguration
description The asset description text. string
displayName Display name of job. string
experimentName The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. string
identity Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.
Defaults to AmlToken if null.
IdentityConfiguration
isArchived Is the asset archived? bool
jobInstructions Labeling instructions of the job. LabelingJobInstructions
jobType [Required] Specifies the type of job. 'AutoML'
'Command'
'FineTuning'
'Labeling'
'Pipeline'
'Spark'
'Sweep' (required)
labelCategories Label categories of the job. LabelingJobLabelCategories
labelingJobMediaProperties Media type specific properties in the job. LabelingJobMediaProperties
mlAssistConfiguration Configuration of MLAssist feature in the job. MLAssistConfiguration
notificationSetting Notification setting for the job NotificationSetting
properties The asset property dictionary. ResourceBaseProperties
secretsConfiguration Configuration for secrets to be made available during runtime. JobBaseSecretsConfiguration
services List of JobEndpoints.
For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
JobBaseServices
tags Tag dictionary. Tags can be added, removed, and updated. ResourceBaseTags

LabelingJobTextProperties

Name Description Value
annotationType Annotation type of text labeling job. 'Classification'
'NamedEntityRecognition'
mediaType [Required] Media type of the job. 'Text' (required)

ManagedIdentity

Name Description Value
clientId Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
identityType [Required] Specifies the type of identity framework. 'Managed' (required)
objectId Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
resourceId Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. string

Microsoft.MachineLearningServices/workspaces/labelingJobs

Name Description Value
apiVersion The api version '2024-01-01-preview'
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$ (required)
properties [Required] Additional attributes of the entity. LabelingJobProperties (required)
type The resource type 'Microsoft.MachineLearningServices/workspaces/labelingJobs'

MLAssistConfiguration

Name Description Value
mlAssist Set to 'Disabled' for type MLAssistConfigurationDisabled. Set to 'Enabled' for type MLAssistConfigurationEnabled. 'Disabled'
'Enabled' (required)

MLAssistConfigurationDisabled

Name Description Value
mlAssist [Required] Indicates whether MLAssist feature is enabled. 'Disabled' (required)

MLAssistConfigurationEnabled

Name Description Value
inferencingComputeBinding [Required] AML compute binding used in inferencing. string

Constraints:
Min length = 1
Pattern = [a-zA-Z0-9_] (required)
mlAssist [Required] Indicates whether MLAssist feature is enabled. 'Enabled' (required)
trainingComputeBinding [Required] AML compute binding used in training. string

Constraints:
Min length = 1
Pattern = [a-zA-Z0-9_] (required)

Nodes

Name Description Value
nodesValueType Set to 'All' for type AllNodes. 'All' (required)

NotificationSetting

Name Description Value
emailOn Send email notification to user on specified notification type String array containing any of:
'JobCancelled'
'JobCompleted'
'JobFailed'
emails This is the email recipient list which has a limitation of 499 characters in total concat with comma separator string[]
webhooks Send webhook callback to a service. Key is a user-provided name for the webhook. NotificationSettingWebhooks

NotificationSettingWebhooks

Name Description Value

ResourceBaseProperties

Name Description Value

ResourceBaseTags

Name Description Value

SecretConfiguration

Name Description Value
uri Secret Uri.
Sample Uri : https://myvault.vault.azure.net/secrets/mysecretname/secretversion
string
workspaceSecretName Name of secret in workspace key vault. string

UserIdentity

Name Description Value
identityType [Required] Specifies the type of identity framework. 'UserIdentity' (required)

Webhook

Name Description Value
eventType Send callback on a specified notification event string
webhookType Set to 'AzureDevOps' for type AzureDevOpsWebhook. 'AzureDevOps' (required)

Terraform (AzAPI provider) resource definition

The workspaces/labelingJobs resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.MachineLearningServices/workspaces/labelingJobs resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/labelingJobs@2024-01-01-preview"
  name = "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"
        }
      }
      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"
      }
      secretsConfiguration = {
        {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"
          }
        }
      }
      tags = {
        {customized property} = "string"
      }
    }
  })
}

IdentityConfiguration objects

Set the identityType property to specify the type of object.

For AMLToken, use:

{
  identityType = "AMLToken"
}

For Managed, use:

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

For UserIdentity, use:

{
  identityType = "UserIdentity"
}

Nodes objects

Set the nodesValueType property to specify the type of object.

For All, use:

{
  nodesValueType = "All"
}

MLAssistConfiguration objects

Set the mlAssist property to specify the type of object.

For Disabled, use:

{
  mlAssist = "Disabled"
}

For Enabled, use:

{
  inferencingComputeBinding = "string"
  mlAssist = "Enabled"
  trainingComputeBinding = "string"
}

Webhook objects

Set the webhookType property to specify the type of object.

For AzureDevOps, use:

{
  webhookType = "AzureDevOps"
}

LabelingJobMediaProperties objects

Set the mediaType property to specify the type of object.

For Image, use:

{
  annotationType = "string"
  mediaType = "Image"
}

For Text, use:

{
  annotationType = "string"
  mediaType = "Text"
}

Property values

AllNodes

Name Description Value
nodesValueType [Required] Type of the Nodes value 'All' (required)

AmlToken

Name Description Value
identityType [Required] Specifies the type of identity framework. 'AMLToken' (required)

AzureDevOpsWebhook

Name Description Value
webhookType [Required] Specifies the type of service to send a callback 'AzureDevOps' (required)

IdentityConfiguration

Name Description Value
identityType Set to 'AMLToken' for type AmlToken. Set to 'Managed' for type ManagedIdentity. Set to 'UserIdentity' for type UserIdentity. 'AMLToken'
'Managed'
'UserIdentity' (required)

JobBaseSecretsConfiguration

Name Description Value

JobBaseServices

Name Description Value

JobService

Name Description Value
endpoint Url for endpoint. string
jobServiceType Endpoint type. string
nodes Nodes that user would like to start the service on.
If Nodes is not set or set to null, the service will only be started on leader node.
Nodes
port Port for endpoint set by user. int
properties Additional properties to set on the endpoint. JobServiceProperties

JobServiceProperties

Name Description Value

LabelCategory

Name Description Value
classes Dictionary of label classes in this category. LabelCategoryClasses
displayName Display name of the label category. string
multiSelect Indicates whether it is allowed to select multiple classes in this category. 'Disabled'
'Enabled'

LabelCategoryClasses

Name Description Value

LabelClass

Name Description Value
displayName Display name of the label class. string
subclasses Dictionary of subclasses of the label class. LabelClassSubclasses

LabelClassSubclasses

Name Description Value

LabelingDataConfiguration

Name Description Value
dataId Resource Id of the data asset to perform labeling. string
incrementalDataRefresh Indicates whether to enable incremental data refresh. 'Disabled'
'Enabled'

LabelingJobImageProperties

Name Description Value
annotationType Annotation type of image labeling job. 'BoundingBox'
'Classification'
'InstanceSegmentation'
mediaType [Required] Media type of the job. 'Image' (required)

LabelingJobInstructions

Name Description Value
uri The link to a page with detailed labeling instructions for labelers. string

LabelingJobLabelCategories

Name Description Value

LabelingJobMediaProperties

Name Description Value
mediaType Set to 'Image' for type LabelingJobImageProperties. Set to 'Text' for type LabelingJobTextProperties. 'Image'
'Text' (required)

LabelingJobProperties

Name Description Value
componentId ARM resource ID of the component resource. string
computeId ARM resource ID of the compute resource. string
dataConfiguration Configuration of data used in the job. LabelingDataConfiguration
description The asset description text. string
displayName Display name of job. string
experimentName The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. string
identity Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.
Defaults to AmlToken if null.
IdentityConfiguration
isArchived Is the asset archived? bool
jobInstructions Labeling instructions of the job. LabelingJobInstructions
jobType [Required] Specifies the type of job. 'AutoML'
'Command'
'FineTuning'
'Labeling'
'Pipeline'
'Spark'
'Sweep' (required)
labelCategories Label categories of the job. LabelingJobLabelCategories
labelingJobMediaProperties Media type specific properties in the job. LabelingJobMediaProperties
mlAssistConfiguration Configuration of MLAssist feature in the job. MLAssistConfiguration
notificationSetting Notification setting for the job NotificationSetting
properties The asset property dictionary. ResourceBaseProperties
secretsConfiguration Configuration for secrets to be made available during runtime. JobBaseSecretsConfiguration
services List of JobEndpoints.
For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
JobBaseServices
tags Tag dictionary. Tags can be added, removed, and updated. ResourceBaseTags

LabelingJobTextProperties

Name Description Value
annotationType Annotation type of text labeling job. 'Classification'
'NamedEntityRecognition'
mediaType [Required] Media type of the job. 'Text' (required)

ManagedIdentity

Name Description Value
clientId Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
identityType [Required] Specifies the type of identity framework. 'Managed' (required)
objectId Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
resourceId Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. string

Microsoft.MachineLearningServices/workspaces/labelingJobs

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: workspaces
properties [Required] Additional attributes of the entity. LabelingJobProperties (required)
type The resource type "Microsoft.MachineLearningServices/workspaces/labelingJobs@2024-01-01-preview"

MLAssistConfiguration

Name Description Value
mlAssist Set to 'Disabled' for type MLAssistConfigurationDisabled. Set to 'Enabled' for type MLAssistConfigurationEnabled. 'Disabled'
'Enabled' (required)

MLAssistConfigurationDisabled

Name Description Value
mlAssist [Required] Indicates whether MLAssist feature is enabled. 'Disabled' (required)

MLAssistConfigurationEnabled

Name Description Value
inferencingComputeBinding [Required] AML compute binding used in inferencing. string

Constraints:
Min length = 1
Pattern = [a-zA-Z0-9_] (required)
mlAssist [Required] Indicates whether MLAssist feature is enabled. 'Enabled' (required)
trainingComputeBinding [Required] AML compute binding used in training. string

Constraints:
Min length = 1
Pattern = [a-zA-Z0-9_] (required)

Nodes

Name Description Value
nodesValueType Set to 'All' for type AllNodes. 'All' (required)

NotificationSetting

Name Description Value
emailOn Send email notification to user on specified notification type String array containing any of:
'JobCancelled'
'JobCompleted'
'JobFailed'
emails This is the email recipient list which has a limitation of 499 characters in total concat with comma separator string[]
webhooks Send webhook callback to a service. Key is a user-provided name for the webhook. NotificationSettingWebhooks

NotificationSettingWebhooks

Name Description Value

ResourceBaseProperties

Name Description Value

ResourceBaseTags

Name Description Value

SecretConfiguration

Name Description Value
uri Secret Uri.
Sample Uri : https://myvault.vault.azure.net/secrets/mysecretname/secretversion
string
workspaceSecretName Name of secret in workspace key vault. string

UserIdentity

Name Description Value
identityType [Required] Specifies the type of identity framework. 'UserIdentity' (required)

Webhook

Name Description Value
eventType Send callback on a specified notification event string
webhookType Set to 'AzureDevOps' for type AzureDevOpsWebhook. 'AzureDevOps' (required)