Class TriggeredJobRun

java.lang.Object
com.azure.resourcemanager.appservice.models.TriggeredJobRun
All Implemented Interfaces:
com.azure.json.JsonSerializable<TriggeredJobRun>

public final class TriggeredJobRun extends Object implements com.azure.json.JsonSerializable<TriggeredJobRun>
Triggered Web Job Run Information.
  • Method Details

    • webJobId

      public String webJobId()
      Get the webJobId property: Job ID.
      Returns:
      the webJobId value.
    • webJobName

      public String webJobName()
      Get the webJobName property: Job name.
      Returns:
      the webJobName value.
    • status

      public TriggeredWebJobStatus status()
      Get the status property: Job status.
      Returns:
      the status value.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Start time.
      Returns:
      the startTime value.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: End time.
      Returns:
      the endTime value.
    • duration

      public String duration()
      Get the duration property: Job duration.
      Returns:
      the duration value.
    • outputUrl

      public String outputUrl()
      Get the outputUrl property: Output URL.
      Returns:
      the outputUrl value.
    • errorUrl

      public String errorUrl()
      Get the errorUrl property: Error URL.
      Returns:
      the errorUrl value.
    • url

      public String url()
      Get the url property: Job URL.
      Returns:
      the url value.
    • jobName

      public String jobName()
      Get the jobName property: Job name.
      Returns:
      the jobName value.
    • trigger

      public String trigger()
      Get the trigger property: Job trigger.
      Returns:
      the trigger value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<TriggeredJobRun>
      Throws:
      IOException
    • fromJson

      public static TriggeredJobRun fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TriggeredJobRun from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TriggeredJobRun 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 TriggeredJobRun.