Share via


DeviceOutput interface

Device metadata.

Properties

deploymentStatus

State of the device in its last deployment.

deviceClassId

Device class identity.

deviceId

Device identity.

groupId

Device group identity.

installedUpdate

Currently installed update on device.

lastAttemptedUpdate

The update that device last attempted to install.

lastDeploymentId

The deployment identifier for the last deployment to the device

lastInstallResult

Last install result.

moduleId

Device module identity.

onLatestUpdate

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

Property Details

deploymentStatus

State of the device in its last deployment.

deploymentStatus?: "Succeeded" | "Failed" | "InProgress" | "Canceled"

Property Value

"Succeeded" | "Failed" | "InProgress" | "Canceled"

deviceClassId

Device class identity.

deviceClassId: string

Property Value

string

deviceId

Device identity.

deviceId: string

Property Value

string

groupId

Device group identity.

groupId?: string

Property Value

string

installedUpdate

Currently installed update on device.

installedUpdate?: UpdateInfoOutput

Property Value

lastAttemptedUpdate

The update that device last attempted to install.

lastAttemptedUpdate?: UpdateInfoOutput

Property Value

lastDeploymentId

The deployment identifier for the last deployment to the device

lastDeploymentId?: string

Property Value

string

lastInstallResult

Last install result.

lastInstallResult?: InstallResultOutput

Property Value

moduleId

Device module identity.

moduleId?: string

Property Value

string

onLatestUpdate

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

onLatestUpdate: boolean

Property Value

boolean