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 Summary
Modifier and TypeMethodDescriptionduration()Get the duration property: Job duration.endTime()Get the endTime property: End time.errorUrl()Get the errorUrl property: Error URL.static TriggeredJobRunfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TriggeredJobRun from the JsonReader.jobName()Get the jobName property: Job name.Get the outputUrl property: Output URL.Get the startTime property: Start time.status()Get the status property: Job status.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) trigger()Get the trigger property: Job trigger.url()Get the url property: Job URL.voidvalidate()Validates the instance.webJobId()Get the webJobId property: Job ID.Get the webJobName property: Job name.Methods inherited from class 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
-
webJobId
-
webJobName
-
status
Get the status property: Job status.- Returns:
- the status value.
-
startTime
Get the startTime property: Start time.- Returns:
- the startTime value.
-
endTime
-
duration
-
outputUrl
-
errorUrl
-
url
-
jobName
-
trigger
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TriggeredJobRun>- Throws:
IOException
-
fromJson
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.
-