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 Details

    • 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.
    • 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.
    • 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.