Share via


JobResponse Constructors

Definition

Overloads

JobResponse()

Initializes a new instance of the JobResponse class.

JobResponse(String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<JobStatus>, String, String, String)

Initializes a new instance of the JobResponse class.

JobResponse()

Initializes a new instance of the JobResponse class.

public JobResponse ();
Public Sub New ()

Applies to

JobResponse(String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<JobStatus>, String, String, String)

Initializes a new instance of the JobResponse class.

public JobResponse (string jobId = default, DateTime? startTimeUtc = default, DateTime? endTimeUtc = default, string type = default, Microsoft.Azure.Management.IotHub.Models.JobStatus? status = default, string failureReason = default, string statusMessage = default, string parentJobId = default);
new Microsoft.Azure.Management.IotHub.Models.JobResponse : string * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.IotHub.Models.JobStatus> * string * string * string -> Microsoft.Azure.Management.IotHub.Models.JobResponse
Public Sub New (Optional jobId As String = Nothing, Optional startTimeUtc As Nullable(Of DateTime) = Nothing, Optional endTimeUtc As Nullable(Of DateTime) = Nothing, Optional type As String = Nothing, Optional status As Nullable(Of JobStatus) = Nothing, Optional failureReason As String = Nothing, Optional statusMessage As String = Nothing, Optional parentJobId As String = Nothing)

Parameters

jobId
String

The job identifier.

startTimeUtc
Nullable<DateTime>

The start time of the job.

endTimeUtc
Nullable<DateTime>

The time the job stopped processing.

type
String

The type of the job. Possible values include: 'unknown', 'export', 'import', 'backup', 'readDeviceProperties', 'writeDeviceProperties', 'updateDeviceConfiguration', 'rebootDevice', 'factoryResetDevice', 'firmwareUpdate'

status
Nullable<JobStatus>

The status of the job. Possible values include: 'unknown', 'enqueued', 'running', 'completed', 'failed', 'cancelled'

failureReason
String

If status == failed, this string containing the reason for the failure.

statusMessage
String

The status message for the job.

parentJobId
String

The job identifier of the parent job, if any.

Applies to