v6

latestSwagger 2.02026-07-135076139.2 KB
Device and deployment management

Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub.

get/deviceUpdate/{instanceId}/management/devices/{deviceId}

Path parameters

instanceIdstring required

The Device Update for IoT Hub account instance identifier.

deviceIdstring required

Device identifier in Azure IoT Hub.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

The request has succeeded.

deviceIdstring required

Device identity.

moduleIdstring

Device module identity.

deviceClassIdstring required

Device class identity.

groupIdstring

Device group identity.

deploymentStatus'Succeeded' | 'InProgress' | 'Canceled' | 'Failed'

Deployment state.

onLatestUpdateboolean required

Boolean flag indicating whether the latest update (the best compatible update for the device's device class and group) is installed on the device

lastDeploymentIdstring

The deployment identifier for the last deployment to the device