CommandJobArgs

data class CommandJobArgs(val codeId: Output<String>? = null, val command: Output<String>, val compute: Output<ComputeConfigurationArgs>, val description: Output<String>? = null, val distribution: Output<Any>? = null, val environmentId: Output<String>? = null, val environmentVariables: Output<Map<String, String>>? = null, val experimentName: Output<String>? = null, val identity: Output<Either<AmlTokenArgs, ManagedIdentityArgs>>? = null, val inputDataBindings: Output<Map<String, InputDataBindingArgs>>? = null, val jobType: Output<String>, val outputDataBindings: Output<Map<String, OutputDataBindingArgs>>? = null, val priority: Output<Int>? = null, val properties: Output<Map<String, String>>? = null, val tags: Output<Map<String, String>>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<CommandJobArgs>

Command job definition.

Constructors

Link copied to clipboard
constructor(codeId: Output<String>? = null, command: Output<String>, compute: Output<ComputeConfigurationArgs>, description: Output<String>? = null, distribution: Output<Any>? = null, environmentId: Output<String>? = null, environmentVariables: Output<Map<String, String>>? = null, experimentName: Output<String>? = null, identity: Output<Either<AmlTokenArgs, ManagedIdentityArgs>>? = null, inputDataBindings: Output<Map<String, InputDataBindingArgs>>? = null, jobType: Output<String>, outputDataBindings: Output<Map<String, OutputDataBindingArgs>>? = null, priority: Output<Int>? = null, properties: Output<Map<String, String>>? = null, tags: Output<Map<String, String>>? = null, timeout: Output<String>? = null)

Properties

Link copied to clipboard
val codeId: Output<String>? = null

ARM resource ID of the code asset.

Link copied to clipboard
val command: Output<String>

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

Link copied to clipboard

Required Compute binding for the job.

Link copied to clipboard
val description: Output<String>? = null

The asset description text.

Link copied to clipboard
val distribution: Output<Any>? = null

Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.

Link copied to clipboard
val environmentId: Output<String>? = null

The ARM resource ID of the Environment specification for the job.

Link copied to clipboard
val environmentVariables: Output<Map<String, String>>? = null

Environment variables included in the job.

Link copied to clipboard
val experimentName: Output<String>? = null

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

Link copied to clipboard
val identity: Output<Either<AmlTokenArgs, ManagedIdentityArgs>>? = null

Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null. Defaults to AmlToken if null.

Link copied to clipboard

Mapping of input data bindings used in the job.

Link copied to clipboard
val jobType: Output<String>

Enum to determine the type of job. Expected value is 'Command'.

Link copied to clipboard

Mapping of output data bindings used in the job.

Link copied to clipboard
val priority: Output<Int>? = null

Job priority for scheduling policy. Only applies to AMLCompute. Private preview feature and only available to users on the allow list.

Link copied to clipboard
val properties: Output<Map<String, String>>? = null

The asset property dictionary.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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

Link copied to clipboard
val timeout: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): CommandJobArgs