다음을 통해 공유


MachineLearningPipelineJob Class

Definition

Pipeline Job definition: defines generic to MFE attributes.

public class MachineLearningPipelineJob : Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningPipelineJob>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningPipelineJob>
public class MachineLearningPipelineJob : Azure.ResourceManager.MachineLearning.Models.MachineLearningJobProperties
type MachineLearningPipelineJob = class
    inherit MachineLearningJobProperties
    interface IJsonModel<MachineLearningPipelineJob>
    interface IPersistableModel<MachineLearningPipelineJob>
type MachineLearningPipelineJob = class
    inherit MachineLearningJobProperties
Public Class MachineLearningPipelineJob
Inherits MachineLearningJobProperties
Implements IJsonModel(Of MachineLearningPipelineJob), IPersistableModel(Of MachineLearningPipelineJob)
Public Class MachineLearningPipelineJob
Inherits MachineLearningJobProperties
Inheritance
Implements

Constructors

MachineLearningPipelineJob()

Initializes a new instance of MachineLearningPipelineJob.

Properties

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)
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

Inputs for the pipeline 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)
Jobs

Jobs construct the Pipeline Job.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

NotificationSetting

Notification setting for the job.

(Inherited from MachineLearningJobProperties)
Outputs

Outputs for the pipeline 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.

Properties

The asset property dictionary.

(Inherited from MachineLearningResourceBase)
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)
Settings

Pipeline settings, for things like ContinueRunOnStepFailure etc.

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:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

SourceJobId

ARM resource ID of source job.

Status

Status of the job.

(Inherited from MachineLearningJobProperties)
Tags

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

(Inherited from MachineLearningResourceBase)

Explicit Interface Implementations

IJsonModel<MachineLearningJobProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MachineLearningJobProperties)
IJsonModel<MachineLearningJobProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MachineLearningJobProperties)
IJsonModel<MachineLearningPipelineJob>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MachineLearningPipelineJob>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MachineLearningResourceBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MachineLearningResourceBase)
IJsonModel<MachineLearningResourceBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MachineLearningResourceBase)
IPersistableModel<MachineLearningJobProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MachineLearningJobProperties)
IPersistableModel<MachineLearningJobProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MachineLearningJobProperties)
IPersistableModel<MachineLearningJobProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MachineLearningJobProperties)
IPersistableModel<MachineLearningPipelineJob>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningPipelineJob>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MachineLearningPipelineJob>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MachineLearningResourceBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MachineLearningResourceBase)
IPersistableModel<MachineLearningResourceBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MachineLearningResourceBase)
IPersistableModel<MachineLearningResourceBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MachineLearningResourceBase)

Applies to