你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Device interface

设备元数据。

属性

deploymentStatus

设备在上次部署中的状态。

deviceClassId

设备类标识。

deviceId

设备标识。

groupId

设备组标识。

installedUpdate

当前在设备上安装了更新。

lastAttemptedUpdate

设备上次尝试安装的更新。

lastDeploymentId

上次部署到设备的部署标识符

lastInstallResult

上次安装结果。

moduleId

设备模块标识。

onLatestUpdate

指示设备上是否安装了最新更新(设备设备类和组的最佳兼容更新)的布尔标志

属性详细信息

deploymentStatus

设备在上次部署中的状态。

deploymentStatus?: DeviceDeploymentState

属性值

deviceClassId

设备类标识。

deviceClassId: string

属性值

string

deviceId

设备标识。

deviceId: string

属性值

string

groupId

设备组标识。

groupId?: string

属性值

string

installedUpdate

当前在设备上安装了更新。

installedUpdate?: UpdateInfo

属性值

lastAttemptedUpdate

设备上次尝试安装的更新。

lastAttemptedUpdate?: UpdateInfo

属性值

lastDeploymentId

上次部署到设备的部署标识符

lastDeploymentId?: string

属性值

string

lastInstallResult

上次安装结果。

lastInstallResult?: InstallResult

属性值

moduleId

设备模块标识。

moduleId?: string

属性值

string

onLatestUpdate

指示设备上是否安装了最新更新(设备设备类和组的最佳兼容更新)的布尔标志

onLatestUpdate: boolean

属性值

boolean