TrialComponentArgs

data class TrialComponentArgs(val codeId: Output<String>? = null, val command: Output<String>, val distribution: Output<Any>? = null, val environmentId: Output<String>, val environmentVariables: Output<Map<String, String>>? = null, val resources: Output<JobResourceConfigurationArgs>? = null) : ConvertibleToJava<TrialComponentArgs>

Trial component definition.

Constructors

Link copied to clipboard
constructor(codeId: Output<String>? = null, command: Output<String>, distribution: Output<Any>? = null, environmentId: Output<String>, environmentVariables: Output<Map<String, String>>? = null, resources: Output<JobResourceConfigurationArgs>? = 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
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>

Required 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

Compute Resource configuration for the job.

Functions

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