共用方式為


ArmMachineLearningModelFactory.LabelingJobProperties Method

Definition

Initializes a new instance of LabelingJobProperties.

public static Azure.ResourceManager.MachineLearning.Models.LabelingJobProperties LabelingJobProperties (string description = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.ResourceIdentifier componentId = default, Azure.Core.ResourceIdentifier computeId = default, string displayName = default, string experimentName = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningIdentityConfiguration identity = default, bool? isArchived = default, Azure.ResourceManager.MachineLearning.Models.NotificationSetting notificationSetting = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.SecretConfiguration> secretsConfiguration = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService> services = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobStatus? status = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.MachineLearning.Models.LabelingDataConfiguration dataConfiguration = default, Uri jobInstructionsUri = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.LabelCategory> labelCategories = default, Azure.ResourceManager.MachineLearning.Models.LabelingJobMediaProperties labelingJobMediaProperties = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningAssistConfiguration mlAssistConfiguration = default, Azure.ResourceManager.MachineLearning.Models.ProgressMetrics progressMetrics = default, Guid? projectId = default, Azure.ResourceManager.MachineLearning.Models.JobProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.JobStatusMessage> statusMessages = default);
static member LabelingJobProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningIdentityConfiguration * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.NotificationSetting * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.SecretConfiguration> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningJobStatus> * Nullable<DateTimeOffset> * Azure.ResourceManager.MachineLearning.Models.LabelingDataConfiguration * Uri * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.LabelCategory> * Azure.ResourceManager.MachineLearning.Models.LabelingJobMediaProperties * Azure.ResourceManager.MachineLearning.Models.MachineLearningAssistConfiguration * Azure.ResourceManager.MachineLearning.Models.ProgressMetrics * Nullable<Guid> * Nullable<Azure.ResourceManager.MachineLearning.Models.JobProvisioningState> * seq<Azure.ResourceManager.MachineLearning.Models.JobStatusMessage> -> Azure.ResourceManager.MachineLearning.Models.LabelingJobProperties
Public Shared Function LabelingJobProperties (Optional description As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional componentId As ResourceIdentifier = Nothing, Optional computeId As ResourceIdentifier = Nothing, Optional displayName As String = Nothing, Optional experimentName As String = Nothing, Optional identity As MachineLearningIdentityConfiguration = Nothing, Optional isArchived As Nullable(Of Boolean) = Nothing, Optional notificationSetting As NotificationSetting = Nothing, Optional secretsConfiguration As IDictionary(Of String, SecretConfiguration) = Nothing, Optional services As IDictionary(Of String, MachineLearningJobService) = Nothing, Optional status As Nullable(Of MachineLearningJobStatus) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional dataConfiguration As LabelingDataConfiguration = Nothing, Optional jobInstructionsUri As Uri = Nothing, Optional labelCategories As IDictionary(Of String, LabelCategory) = Nothing, Optional labelingJobMediaProperties As LabelingJobMediaProperties = Nothing, Optional mlAssistConfiguration As MachineLearningAssistConfiguration = Nothing, Optional progressMetrics As ProgressMetrics = Nothing, Optional projectId As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of JobProvisioningState) = Nothing, Optional statusMessages As IEnumerable(Of JobStatusMessage) = Nothing) As LabelingJobProperties

Parameters

description
String

The asset description text.

properties
IDictionary<String,String>

The asset property dictionary.

tags
IDictionary<String,String>

Tag dictionary. Tags can be added, removed, and updated.

componentId
ResourceIdentifier

ARM resource ID of the component resource.

computeId
ResourceIdentifier

ARM resource ID of the compute resource.

displayName
String

Display name of job.

experimentName
String

The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.

identity
MachineLearningIdentityConfiguration

Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. Defaults to AmlToken if null. Please note MachineLearningIdentityConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AmlToken, MachineLearningManagedIdentity and MachineLearningUserIdentity.

isArchived
Nullable<Boolean>

Is the asset archived?.

notificationSetting
NotificationSetting

Notification setting for the job.

secretsConfiguration
IDictionary<String,SecretConfiguration>

Configuration for secrets to be made available during runtime.

services
IDictionary<String,MachineLearningJobService>

List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.

status
Nullable<MachineLearningJobStatus>

Status of the job.

createdOn
Nullable<DateTimeOffset>

Created time of the job in UTC timezone.

dataConfiguration
LabelingDataConfiguration

Configuration of data used in the job.

jobInstructionsUri
Uri

Labeling instructions of the job.

labelCategories
IDictionary<String,LabelCategory>

Label categories of the job.

labelingJobMediaProperties
LabelingJobMediaProperties

Media type specific properties in the job. Please note LabelingJobMediaProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include LabelingJobImageProperties and LabelingJobTextProperties.

mlAssistConfiguration
MachineLearningAssistConfiguration

Configuration of MLAssist feature in the job. Please note MachineLearningAssistConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MLAssistConfigurationDisabled and MachineLearningAssistEnabledConfiguration.

progressMetrics
ProgressMetrics

Progress metrics of the job.

projectId
Nullable<Guid>

Internal id of the job(Previously called project).

provisioningState
Nullable<JobProvisioningState>

Specifies the labeling job provisioning state.

statusMessages
IEnumerable<JobStatusMessage>

Status messages of the job.

Returns

A new LabelingJobProperties instance for mocking.

Applies to