Delen via


JobResponse Class

Definition

Provides current job report when fetched

public class JobResponse
type JobResponse = class
Public Class JobResponse
Inheritance
JobResponse

Constructors

JobResponse()

Properties

CloudToDeviceMethod

Required if jobType is cloudToDeviceMethod. The method type and parameters.

CreatedTimeUtc

Scheduled job start time in UTC.

DeviceId

The deviceId related to this response. It can be null (e.g. in case of a parent orchestration).

DeviceJobStatistics

Different number of devices in the job

EndTimeUtc

System generated. Ignored at creation. Represents the time the job stopped processing.

FailureReason

System generated. Ignored at creation. If status == failure, this represents a string containing the reason.

JobId

System generated. Ignored at creation.

MaxExecutionTimeInSeconds

Max execution time in secounds

ParentJobId

The jobId of the parent orchestration, if any.

QueryCondition

Device query condition.

StartTimeUtc

System generated. Ignored at creation.

Status

System generated. Ignored at creation.

StatusMessage

System generated. Ignored at creation. Represents a string containing a message with status about the job execution.

Type

Required. The type of job to execute.

UpdateTwin

Required if jobType is updateTwin. The Update Twin tags and desired properties.

Applies to