CommandJob interface
Command job definition.
- Extends
Properties
code |
ARM resource ID of the code asset. |
command | [Required] The command to execute on startup of the job. eg. "python train.py" |
distribution | Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. |
environment |
[Required] The ARM resource ID of the Environment specification for the job. |
environment |
Environment variables included in the job. |
inputs | Mapping of input data bindings used in the job. |
job |
Polymorphic discriminator, which specifies the different types this object can be |
limits | Command Job limit. |
outputs | Mapping of output data bindings used in the job. |
parameters | Input parameters. NOTE: This property will not be serialized. It can only be populated by the server. |
queue |
Queue settings for the job |
resources | Compute Resource configuration for the job. |
Inherited Properties
component |
ARM resource ID of the component resource. |
compute |
ARM resource ID of the compute resource. |
description | The asset description text. |
display |
Display name of job. |
experiment |
The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. |
identity | Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. Defaults to AmlToken if null. |
is |
Is the asset archived? |
notification |
Notification setting for the job |
properties | The asset property dictionary. |
services | List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject. |
status | Status of the job. NOTE: This property will not be serialized. It can only be populated by the server. |
tags | Tag dictionary. Tags can be added, removed, and updated. |
Property Details
codeId
ARM resource ID of the code asset.
codeId?: string
Property Value
string
command
[Required] The command to execute on startup of the job. eg. "python train.py"
command: string
Property Value
string
distribution
Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.
distribution?: DistributionConfigurationUnion
Property Value
environmentId
[Required] The ARM resource ID of the Environment specification for the job.
environmentId: string
Property Value
string
environmentVariables
Environment variables included in the job.
environmentVariables?: {[propertyName: string]: string | null}
Property Value
{[propertyName: string]: string | null}
inputs
Mapping of input data bindings used in the job.
inputs?: {[propertyName: string]: JobInputUnion | null}
Property Value
{[propertyName: string]: JobInputUnion | null}
jobType
Polymorphic discriminator, which specifies the different types this object can be
jobType: "Command"
Property Value
"Command"
limits
outputs
Mapping of output data bindings used in the job.
outputs?: {[propertyName: string]: JobOutputUnion | null}
Property Value
{[propertyName: string]: JobOutputUnion | null}
parameters
Input parameters. NOTE: This property will not be serialized. It can only be populated by the server.
parameters?: Record<string, unknown>
Property Value
Record<string, unknown>
queueSettings
resources
Compute Resource configuration for the job.
resources?: JobResourceConfiguration
Property Value
Inherited Property Details
componentId
ARM resource ID of the component resource.
componentId?: string
Property Value
string
Inherited From JobBaseProperties.componentId
computeId
ARM resource ID of the compute resource.
computeId?: string
Property Value
string
Inherited From JobBaseProperties.computeId
description
The asset description text.
description?: string
Property Value
string
Inherited From JobBaseProperties.description
displayName
Display name of job.
displayName?: string
Property Value
string
Inherited From JobBaseProperties.displayName
experimentName
The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
experimentName?: string
Property Value
string
Inherited From JobBaseProperties.experimentName
identity
Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. Defaults to AmlToken if null.
identity?: IdentityConfigurationUnion
Property Value
Inherited From JobBaseProperties.identity
isArchived
Is the asset archived?
isArchived?: boolean
Property Value
boolean
Inherited From JobBaseProperties.isArchived
notificationSetting
Notification setting for the job
notificationSetting?: NotificationSetting
Property Value
Inherited From JobBaseProperties.notificationSetting
properties
The asset property dictionary.
properties?: {[propertyName: string]: string | null}
Property Value
{[propertyName: string]: string | null}
Inherited From JobBaseProperties.properties
services
List of JobEndpoints. For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
services?: {[propertyName: string]: JobService | null}
Property Value
{[propertyName: string]: JobService | null}
Inherited From JobBaseProperties.services
status
Status of the job. NOTE: This property will not be serialized. It can only be populated by the server.
status?: string
Property Value
string
Inherited From JobBaseProperties.status
tags
Tag dictionary. Tags can be added, removed, and updated.
tags?: {[propertyName: string]: string | null}
Property Value
{[propertyName: string]: string | null}
Inherited From JobBaseProperties.tags