MachineLearningCommandJob Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Command job definition.
public class MachineLearningCommandJob : Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningCommandJob>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningCommandJob>
public class MachineLearningCommandJob : Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties
type MachineLearningCommandJob = class
inherit MachineLearningJobProperties
interface IJsonModel<MachineLearningCommandJob>
interface IPersistableModel<MachineLearningCommandJob>
type MachineLearningCommandJob = class
inherit MachineLearningJobProperties
Public Class MachineLearningCommandJob
Inherits MachineLearningJobProperties
Implements IJsonModel(Of MachineLearningCommandJob), IPersistableModel(Of MachineLearningCommandJob)
Public Class MachineLearningCommandJob
Inherits MachineLearningJobProperties
- Inheritance
- Implements
Constructors
MachineLearningCommandJob(String, ResourceIdentifier) |
Initializes a new instance of MachineLearningCommandJob. |
Properties
CodeId |
ARM resource ID of the code asset. |
Command |
[Required] The command to execute on startup of the job. eg. "python train.py". |
ComponentId |
ARM resource ID of the component resource. (Inherited from MachineLearningJobProperties) |
ComputeId |
ARM resource ID of the compute resource. (Inherited from MachineLearningJobProperties) |
Description |
The asset description text. (Inherited from MachineLearningResourceBase) |
DisplayName |
Display name of job. (Inherited from MachineLearningJobProperties) |
Distribution |
Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. Please note MachineLearningDistributionConfiguration 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 MpiDistributionConfiguration, PyTorchDistributionConfiguration and TensorFlowDistributionConfiguration. |
EnvironmentId |
[Required] The ARM resource ID of the Environment specification for the job. |
EnvironmentVariables |
Environment variables included in the job. |
ExperimentName |
The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. (Inherited from MachineLearningJobProperties) |
Identity |
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. (Inherited from MachineLearningJobProperties) |
Inputs |
Mapping of input data bindings used in the job. Please note MachineLearningJobInput 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 MachineLearningCustomModelJobInput, MachineLearningLiteralJobInput, MachineLearningFlowModelJobInput, MachineLearningTableJobInput, MachineLearningTritonModelJobInput, MachineLearningUriFileJobInput and MachineLearningUriFolderJobInput. |
IsArchived |
Is the asset archived?. (Inherited from MachineLearningJobProperties) |
Limits |
Command Job limit. |
MlflowAutologger |
[Required] Indicates whether mlflow autologger is enabled. |
NotificationSetting |
Notification setting for the job. (Inherited from MachineLearningJobProperties) |
Outputs |
Mapping of output data bindings used in the job. Please note MachineLearningJobOutput 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 MachineLearningCustomModelJobOutput, MachineLearningFlowModelJobOutput, MachineLearningTableJobOutput, MachineLearningTritonModelJobOutput, MachineLearningUriFileJobOutput and MachineLearningUriFolderJobOutput. |
Parameters |
Input parameters. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Properties |
The asset property dictionary. (Inherited from MachineLearningResourceBase) |
QueueJobTier |
Controls the compute job tier. |
QueueSettings |
Queue settings for the job. |
Resources |
Compute Resource configuration for the job. |
SecretsConfiguration |
Configuration for secrets to be made available during runtime. (Inherited from MachineLearningJobProperties) |
Services |
List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject. (Inherited from MachineLearningJobProperties) |
Status |
Status of the job. (Inherited from MachineLearningJobProperties) |
Tags |
Tag dictionary. Tags can be added, removed, and updated. (Inherited from MachineLearningResourceBase) |