Share via


ICommandJob Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.CommandJobTypeConverter))]
public interface ICommandJob : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IJobBaseProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.CommandJobTypeConverter))>]
type ICommandJob = interface
    interface IJsonSerializable
    interface IJobBaseProperties
    interface IResourceBase
Public Interface ICommandJob
Implements IJobBaseProperties
Derived
Attributes
Implements

Properties

CodeId

ARM resource ID of the code asset.

Command

[Required] The command to execute on startup of the job. eg. "python train.py"

ComputeId

ARM resource ID of the compute resource.

(Inherited from IJobBaseProperties)
Description

The asset description text.

(Inherited from IResourceBase)
DisplayName

Display name of job.

(Inherited from IJobBaseProperties)
DistributionType

[Required] Specifies the type of distribution framework.

EnvironmentId

[Required] The ARM resource ID of the Environment specification for the job.

EnvironmentVariable

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

[Required] Specifies the type of identity framework.

(Inherited from IJobBaseProperties)
Input

Mapping of input data bindings used in the job.

IsArchived

Is the asset archived?

(Inherited from IJobBaseProperties)
JobType

[Required] Specifies the type of job.

(Inherited from IJobBaseProperties)
LimitJobLimitsType

[Required] JobLimit type.

LimitTimeout

The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.

Output

Mapping of output data bindings used in the job.

Parameter

Input parameters.

Property

The asset property dictionary.

(Inherited from IResourceBase)
ResourceInstanceCount

Optional number of instances or nodes used by the compute target.

ResourceInstanceType

Optional type of VM used as supported by the compute target.

ResourceProperty

Additional properties bag.

Service

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

(Inherited from IJobBaseProperties)
Status

Status of the job.

(Inherited from IJobBaseProperties)
Tag

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

(Inherited from IResourceBase)

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to