Bagikan melalui


JobResponse Kelas

Properti objek Respons Pekerjaan.

Variabel hanya diisi oleh server, dan akan diabaikan saat mengirim permintaan.

Warisan
azure.mgmt.iothub._serialization.Model
JobResponse

Konstruktor

JobResponse(**kwargs: Any)

Variabel

Nama Deskripsi
job_id
str

Pengidentifikasi pekerjaan.

start_time_utc

Waktu mulai pekerjaan.

end_time_utc

Waktu pekerjaan berhenti diproses.

type
str atau JobType

Jenis pekerjaan. Nilai yang diketahui adalah: "unknown", "export", "import", "backup", "readDeviceProperties", "writeDeviceProperties", "updateDeviceConfiguration", "rebootDevice", "factoryResetDevice", "firmwareUpdate", dan "import".

status
str atau JobStatus

Status pekerjaan. Nilai yang diketahui adalah: "unknown", "enqueued", "running", "completed", "failed", dan "cancelled".

failure_reason
str

Jika status == gagal, string ini berisi alasan kegagalan.

status_message
str

Pesan status untuk pekerjaan tersebut.

parent_job_id
str

Pengidentifikasi pekerjaan pekerjaan induk, jika ada.