Share via


BatchJobPreparationAndReleaseTaskStatus Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchJobPreparationAndReleaseTaskStatus

Implements

public final class BatchJobPreparationAndReleaseTaskStatus
implements JsonSerializable<BatchJobPreparationAndReleaseTaskStatus>

The status of the Job Preparation and Job Release Tasks on a Compute Node.

Method Summary

Modifier and Type Method and Description
static BatchJobPreparationAndReleaseTaskStatus fromJson(JsonReader jsonReader)

Reads an instance of BatchJobPreparationAndReleaseTaskStatus from the JsonReader.

BatchJobPreparationTaskExecutionInfo getJobPreparationTaskExecutionInfo()

Get the jobPreparationTaskExecutionInfo property: Information about the execution status of the Job Preparation Task on this Compute Node.

BatchJobReleaseTaskExecutionInfo getJobReleaseTaskExecutionInfo()

Get the jobReleaseTaskExecutionInfo property: Information about the execution status of the Job Release Task on this Compute Node.

String getNodeId()

Get the nodeId property: The ID of the Compute Node to which this entry refers.

String getNodeUrl()

Get the nodeUrl property: The URL of the Compute Node to which this entry refers.

String getPoolId()

Get the poolId property: The ID of the Pool containing the Compute Node to which this entry refers.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchJobPreparationAndReleaseTaskStatus fromJson(JsonReader jsonReader)

Reads an instance of BatchJobPreparationAndReleaseTaskStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchJobPreparationAndReleaseTaskStatus if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BatchJobPreparationAndReleaseTaskStatus.

getJobPreparationTaskExecutionInfo

public BatchJobPreparationTaskExecutionInfo getJobPreparationTaskExecutionInfo()

Get the jobPreparationTaskExecutionInfo property: Information about the execution status of the Job Preparation Task on this Compute Node.

Returns:

the jobPreparationTaskExecutionInfo value.

getJobReleaseTaskExecutionInfo

public BatchJobReleaseTaskExecutionInfo getJobReleaseTaskExecutionInfo()

Get the jobReleaseTaskExecutionInfo property: Information about the execution status of the Job Release Task on this Compute Node. This property is set only if the Job Release Task has run on the Compute Node.

Returns:

the jobReleaseTaskExecutionInfo value.

getNodeId

public String getNodeId()

Get the nodeId property: The ID of the Compute Node to which this entry refers.

Returns:

the nodeId value.

getNodeUrl

public String getNodeUrl()

Get the nodeUrl property: The URL of the Compute Node to which this entry refers.

Returns:

the nodeUrl value.

getPoolId

public String getPoolId()

Get the poolId property: The ID of the Pool containing the Compute Node to which this entry refers.

Returns:

the poolId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to