Condividi tramite


BatchJobReleaseTaskExecutionInfo Class

Definition

Contains information about the execution of a Job Release Task on a Compute Node.

public class BatchJobReleaseTaskExecutionInfo : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchJobReleaseTaskExecutionInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchJobReleaseTaskExecutionInfo>
type BatchJobReleaseTaskExecutionInfo = class
    interface IJsonModel<BatchJobReleaseTaskExecutionInfo>
    interface IPersistableModel<BatchJobReleaseTaskExecutionInfo>
Public Class BatchJobReleaseTaskExecutionInfo
Implements IJsonModel(Of BatchJobReleaseTaskExecutionInfo), IPersistableModel(Of BatchJobReleaseTaskExecutionInfo)
Inheritance
BatchJobReleaseTaskExecutionInfo
Implements

Properties

ContainerInfo

Information about the container under which the Task is executing. This property is set only if the Task runs in a container context.

EndTime

The time at which the Job Release Task completed. This property is set only if the Task is in the Completed state.

ExitCode

The exit code of the program specified on the Task command line. This parameter is returned only if the Task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the Compute Node operating system, such as when a process is forcibly terminated.

FailureInfo

Information describing the Task failure, if any. This property is set only if the Task is in the completed state and encountered a failure.

Result

The result of the Task execution. If the value is 'failed', then the details of the failure can be found in the failureInfo property.

StartTime

The time at which the Task started running. If the Task has been restarted or retried, this is the most recent time at which the Task started running.

State

The current state of the Job Release Task on the Compute Node.

TaskRootDirectory

The root directory of the Job Release Task on the Compute Node. You can use this path to retrieve files created by the Task, such as log files.

TaskRootDirectoryUrl

The URL to the root directory of the Job Release Task on the Compute Node.

Explicit Interface Implementations

IJsonModel<BatchJobReleaseTaskExecutionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchJobReleaseTaskExecutionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchJobReleaseTaskExecutionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchJobReleaseTaskExecutionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchJobReleaseTaskExecutionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to