Compartilhar via


ArmMachineLearningModelFactory.MachineLearningJobProperties Method

Definition

Overloads

MachineLearningJobProperties(String, IDictionary<String,String>, IDictionary<String,String>, String, String, Nullable<MachineLearningJobStatus>, String, IDictionary<String,MachineLearningJobService>, ResourceIdentifier, Nullable<Boolean>, MachineLearningIdentityConfiguration, ResourceIdentifier, NotificationSetting)

Initializes a new instance of MachineLearningJobProperties.

MachineLearningJobProperties(String, IDictionary<String,String>, IDictionary<String,String>, ResourceIdentifier, ResourceIdentifier, String, String, MachineLearningIdentityConfiguration, Nullable<Boolean>, String, NotificationSetting, IDictionary<String,SecretConfiguration>, IDictionary<String,MachineLearningJobService>, Nullable<MachineLearningJobStatus>)

Initializes a new instance of MachineLearningJobProperties.

MachineLearningJobProperties(String, IDictionary<String,String>, IDictionary<String,String>, String, String, Nullable<MachineLearningJobStatus>, String, IDictionary<String,MachineLearningJobService>, ResourceIdentifier, Nullable<Boolean>, MachineLearningIdentityConfiguration, ResourceIdentifier, NotificationSetting)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningJobProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties MachineLearningJobProperties (string description = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> properties = default, string jobType = default, string displayName = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobStatus? status = default, string experimentName = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService> services = default, Azure.Core.ResourceIdentifier computeId = default, bool? isArchived = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningIdentityConfiguration identity = default, Azure.Core.ResourceIdentifier componentId = default, Azure.ResourceManager.MachineLearning.Models.NotificationSetting notificationSetting = default);
static member MachineLearningJobProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * string * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningJobStatus> * string * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService> * Azure.Core.ResourceIdentifier * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.MachineLearningIdentityConfiguration * Azure.Core.ResourceIdentifier * Azure.ResourceManager.MachineLearning.Models.NotificationSetting -> Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties
Public Shared Function MachineLearningJobProperties (Optional description As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional jobType As String = Nothing, Optional displayName As String = Nothing, Optional status As Nullable(Of MachineLearningJobStatus) = Nothing, Optional experimentName As String = Nothing, Optional services As IDictionary(Of String, MachineLearningJobService) = Nothing, Optional computeId As ResourceIdentifier = Nothing, Optional isArchived As Nullable(Of Boolean) = Nothing, Optional identity As MachineLearningIdentityConfiguration = Nothing, Optional componentId As ResourceIdentifier = Nothing, Optional notificationSetting As NotificationSetting = Nothing) As MachineLearningJobProperties

Parameters

description
String

The asset description text.

tags
IDictionary<String,String>

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

properties
IDictionary<String,String>

The asset property dictionary.

jobType
String

[Required] Specifies the type of job.

displayName
String

Display name of job.

status
Nullable<MachineLearningJobStatus>

Status of the job.

experimentName
String

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

services
IDictionary<String,MachineLearningJobService>

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

computeId
ResourceIdentifier

ARM resource ID of the compute resource.

isArchived
Nullable<Boolean>

Is the asset archived?.

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.

componentId
ResourceIdentifier

ARM resource ID of the component resource.

notificationSetting
NotificationSetting

Notification setting for the job.

Returns

A new MachineLearningJobProperties instance for mocking.

Applies to

MachineLearningJobProperties(String, IDictionary<String,String>, IDictionary<String,String>, ResourceIdentifier, ResourceIdentifier, String, String, MachineLearningIdentityConfiguration, Nullable<Boolean>, String, NotificationSetting, IDictionary<String,SecretConfiguration>, IDictionary<String,MachineLearningJobService>, Nullable<MachineLearningJobStatus>)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningJobProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties MachineLearningJobProperties (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, string jobType = "Unknown", 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);
static member MachineLearningJobProperties : 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> * string * 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> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties
Public Shared Function MachineLearningJobProperties (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 jobType As String = "Unknown", 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) As MachineLearningJobProperties

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?.

jobType
String

[Required] Specifies the type of job.

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.

Returns

A new MachineLearningJobProperties instance for mocking.

Applies to