JobExecutionInner Class

public final class JobExecutionInner
extends ProxyResource

An execution of a job.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createTime()

Get the createTime property: The time that the job execution was created.

Integer currentAttempts()

Get the currentAttempts property: Number of times the job execution has been attempted.

OffsetDateTime currentAttemptStartTime()

Get the currentAttemptStartTime property: Start time of the current attempt.

OffsetDateTime endTime()

Get the endTime property: The time that the job execution completed.

static JobExecutionInner fromJson(JsonReader jsonReader)

Reads an instance of JobExecutionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

UUID jobExecutionId()

Get the jobExecutionId property: The unique identifier of the job execution.

Integer jobVersion()

Get the jobVersion property: The job version number.

String lastMessage()

Get the lastMessage property: The last status or error message.

JobExecutionLifecycle lifecycle()

Get the lifecycle property: The detailed state of the job execution.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The ARM provisioning state of the job execution.

OffsetDateTime startTime()

Get the startTime property: The time that the job execution started.

Integer stepId()

Get the stepId property: The job step id.

String stepName()

Get the stepName property: The job step name.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JobExecutionTarget target()

Get the target property: The target that this execution is executed on.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

createTime

public OffsetDateTime createTime()

Get the createTime property: The time that the job execution was created.

Returns:

the createTime value.

currentAttempts

public Integer currentAttempts()

Get the currentAttempts property: Number of times the job execution has been attempted.

Returns:

the currentAttempts value.

currentAttemptStartTime

public OffsetDateTime currentAttemptStartTime()

Get the currentAttemptStartTime property: Start time of the current attempt.

Returns:

the currentAttemptStartTime value.

endTime

public OffsetDateTime endTime()

Get the endTime property: The time that the job execution completed.

Returns:

the endTime value.

fromJson

public static JobExecutionInner fromJson(JsonReader jsonReader)

Reads an instance of JobExecutionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

JobExecutionInner.id()

Returns:

the id value.

jobExecutionId

public UUID jobExecutionId()

Get the jobExecutionId property: The unique identifier of the job execution.

Returns:

the jobExecutionId value.

jobVersion

public Integer jobVersion()

Get the jobVersion property: The job version number.

Returns:

the jobVersion value.

lastMessage

public String lastMessage()

Get the lastMessage property: The last status or error message.

Returns:

the lastMessage value.

lifecycle

public JobExecutionLifecycle lifecycle()

Get the lifecycle property: The detailed state of the job execution.

Returns:

the lifecycle value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

JobExecutionInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The ARM provisioning state of the job execution.

Returns:

the provisioningState value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The time that the job execution started.

Returns:

the startTime value.

stepId

public Integer stepId()

Get the stepId property: The job step id.

Returns:

the stepId value.

stepName

public String stepName()

Get the stepName property: The job step name.

Returns:

the stepName value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

target

public JobExecutionTarget target()

Get the target property: The target that this execution is executed on.

Returns:

the target value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

JobExecutionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

JobExecutionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to