Package com.azure.compute.batch.models
Class BatchJobPreparationAndReleaseTaskStatus
java.lang.Object
com.azure.compute.batch.models.BatchJobPreparationAndReleaseTaskStatus
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BatchJobPreparationAndReleaseTaskStatus>
public final class BatchJobPreparationAndReleaseTaskStatus
extends Object
implements com.azure.json.JsonSerializable<BatchJobPreparationAndReleaseTaskStatus>
The status of the Job Preparation and Job Release Tasks on a Compute Node.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BatchJobPreparationAndReleaseTaskStatus from the JsonReader.Get the jobPreparationTaskExecutionInfo property: Information about the execution status of the Job Preparation Task on this Compute Node.Get the jobReleaseTaskExecutionInfo property: Information about the execution status of the Job Release Task on this Compute Node.Get the nodeId property: The ID of the Compute Node to which this entry refers.Get the nodeUrl property: The URL of the Compute Node to which this entry refers.Get the poolId property: The ID of the Pool containing the Compute Node to which this entry refers.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getPoolId
Get the poolId property: The ID of the Pool containing the Compute Node to which this entry refers.- Returns:
- the poolId value.
-
getNodeId
Get the nodeId property: The ID of the Compute Node to which this entry refers.- Returns:
- the nodeId value.
-
getNodeUrl
Get the nodeUrl property: The URL of the Compute Node to which this entry refers.- Returns:
- the nodeUrl value.
-
getJobPreparationTaskExecutionInfo
Get the jobPreparationTaskExecutionInfo property: Information about the execution status of the Job Preparation Task on this Compute Node.- Returns:
- the jobPreparationTaskExecutionInfo value.
-
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BatchJobPreparationAndReleaseTaskStatus>- Throws:
IOException
-
fromJson
public static BatchJobPreparationAndReleaseTaskStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-