Package | Description |
---|---|
com.azure.iot.deviceupdate |
Package containing the classes for DeviceUpdateClient.
|
com.azure.iot.deviceupdate.models |
Package containing the data models for DeviceUpdateClient.
|
Modifier and Type | Method and Description |
---|---|
Device |
DevicesClient.getDevice(String deviceId)
Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub.
|
Modifier and Type | Method and Description |
---|---|
Device |
Device.setDeploymentStatus(DeviceDeploymentState deploymentStatus)
Set the deploymentStatus property: State of the device in its last deployment.
|
Device |
Device.setDeviceClassId(String deviceClassId)
Set the deviceClassId property: Device class identity.
|
Device |
Device.setDeviceId(String deviceId)
Set the deviceId property: Device identity.
|
Device |
Device.setGroupId(String groupId)
Set the groupId property: Device group identity.
|
Device |
Device.setInstalledUpdateId(UpdateId installedUpdateId)
Set the installedUpdateId property: Update identity.
|
Device |
Device.setLastAttemptedUpdateId(UpdateId lastAttemptedUpdateId)
Set the lastAttemptedUpdateId property: Update identity.
|
Device |
Device.setLastDeploymentId(String lastDeploymentId)
Set the lastDeploymentId property: The deployment identifier for the last deployment to the device.
|
Device |
Device.setManufacturer(String manufacturer)
Set the manufacturer property: Device manufacturer.
|
Device |
Device.setModel(String model)
Set the model property: Device model.
|
Device |
Device.setOnLatestUpdate(boolean onLatestUpdate)
Set the onLatestUpdate property: Boolean flag indicating whether the latest update is installed on the device.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.