Iot Hub Resource - List Jobs
Get a list of all the jobs in an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/jobs?api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscriptionId
|
path | True |
|
The subscription identifier. |
|
resourceGroupName
|
path | True |
|
The name of the resource group that contains the IoT hub. |
|
resourceName
|
path | True |
|
The name of the IoT hub. |
|
api-version
|
query | True |
|
The version of the API. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
This is a synchronous operation. The response contains a JSON-serialized array of all the jobs in the IoT hub. |
|
| Other Status Codes |
DefaultErrorResponse |
Definitions
| ErrorDetails | |
| JobResponse |
The properties of the Job Response object. |
| JobResponseListResult |
| Name | Type | Description |
|---|---|---|
| Code |
|
The error code. |
| Details |
|
The error details. |
| HttpStatusCode |
|
The HTTP status code. |
| Message |
|
The error message. |
The properties of the Job Response object.
| Name | Type | Description |
|---|---|---|
| endTimeUtc |
|
The time the job stopped processing. |
| failureReason |
|
If status == failed, this string containing the reason for the failure. |
| jobId |
|
The job identifier. |
| parentJobId |
|
The job identifier of the parent job, if any. |
| startTimeUtc |
|
The start time of the job. |
| status |
|
The status of the job. |
| statusMessage |
|
The status message for the job. |
| type |
|
The type of the job. |
| Name | Type | Description |
|---|---|---|
| nextLink |
|
The next link. |
| value |
The array of JobResponse objects. |