Share via


DeviceClassOutput interface

Device class metadata.

Properties

bestCompatibleUpdate

Update that is the highest version compatible with this device class.

deviceClassId

The device class identifier. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash.

deviceClassProperties

The device class properties that are used to calculate the device class Id

friendlyName

The device class friendly name. This can be updated by callers after the device class has been automatically created.

Property Details

bestCompatibleUpdate

Update that is the highest version compatible with this device class.

bestCompatibleUpdate?: UpdateInfoOutput

Property Value

deviceClassId

The device class identifier. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash.

deviceClassId: string

Property Value

string

deviceClassProperties

The device class properties that are used to calculate the device class Id

deviceClassProperties: DeviceClassPropertiesOutput

Property Value

friendlyName

The device class friendly name. This can be updated by callers after the device class has been automatically created.

friendlyName?: string

Property Value

string