SDK reference / Models / Compute

BatchTask

Kind: class

Namespace: Egulu.Sdk.Models.Compute

One task of a job, with where it stands.

Properties

NameTypeJSON nameDescription
ArrayNamestring?arrayNameFor a task of an array: the array's name and the index.
Attemptint?attemptHow many attempts have started.
DependsOnList<string>?dependsOnThe dependsOn property
EndTimeDateTimeOffset?endTimeThe endTime property
ExitCodeint?exitCodeThe exit code of the last attempt.
Indexint?indexThe index property
Kindstring?kindcommand, script or image.
MaxRetriesint?maxRetriesThe maxRetries property
Messagestring?messageWhy the task is in its state, in words (a failure, a skip, a retry).
Namestring?nameprojects/{p}/locations/{l}/batchJobs/{j}/tasks/{t}.
Nodestring?nodeThe node (VM) of the last attempt.
StartTimeDateTimeOffset?startTimeThe startTime property
StateModels.Compute.BatchTask_state?statePENDING (waiting for dependencies), READY (waiting for a slot), RUNNING, SUCCEEDED, FAILED, SKIPPED (a dependency failed) or CANCELLED.
TimeoutSecondsint?timeoutSecondsThe timeoutSeconds property